Monday, September 17, 2012

การตรวจสอบ Textbox.text ว่าว่างหรือเป็นตัวเลขหรือไม่

        If IsNumeric(TextBox1.Text) Then
            MsgBox("Numeric")
        End If
        If TextBox1.Text = String.Empty Then
            MsgBox("Empty")
        End If

No comments:

Post a Comment