Validate Value - Must Be Numeric and Valid

Posted by Naimishforu under VB.NET category on | Points: 40 | Views : 2957
'Validate Value - Must Be Numeric and Valid:

                If IsNumeric(txtbxPeriodOther.Text.Trim) = False Then

''Display Message to User
System.Windows.MessageBox.Show("Specified Value does Not Appear to be Numeric. Please Only Use Numeric Values", "Problem with Value Specifed for ""Other"" Time Value", MessageBoxButton.OK, MessageBoxImage.Information)

End If

Comments or Responses

Login to post response