Guys pa help
dim status as bollean = false
If Not IsNumeric(GRADE1.Text) OrElse _
Not Enumerable.Range(1, 5).Contains(GRADE1.Text) OrElse _
Not GRADE3.Text = "" Then
MessageBox.Show("Please Input A Correct Grade", "Error")
Else
Status2 =true
end if
need ko sa textbox is dapat ang ilalagay is 1-5 and "" only
or may iba pa kayong alam na code???
dim status as bollean = false
If Not IsNumeric(GRADE1.Text) OrElse _
Not Enumerable.Range(1, 5).Contains(GRADE1.Text) OrElse _
Not GRADE3.Text = "" Then
MessageBox.Show("Please Input A Correct Grade", "Error")
Else
Status2 =true
end if
need ko sa textbox is dapat ang ilalagay is 1-5 and "" only
or may iba pa kayong alam na code???