hi guys,
I have a quick question,how can i prove my text box is only for whole number?i dont allow the user to key in decimal place in the text box.what code should i use?
This code is not functioning in a correct way.pls help.thx!
I have a quick question,how can i prove my text box is only for whole number?i dont allow the user to key in decimal place in the text box.what code should i use?
VB.NET:
Private sub textbox1_changed()
If Not Int(Me.textbox1.Text) then
Msgbox("Please key in only whole number")
End If
End sub
This code is not functioning in a correct way.pls help.thx!