and checks that every character entered into myTextField is digit.
if (myTextField.Text.All(Char.IsDigit)){
// is numeric
}else{
// is not numeric
}
Send-MailMessage -SMTPServer smtp.domain.com -To [email protected] -From [email protected] -Subject "This is a test email" -Body ...
No comments:
Post a Comment