I have got a requirment that one button couldn't be clicked unless the textbox has been filled. I have no idea how to write code in VB.NET. Anyone pls. help pls.
Printable View
I have got a requirment that one button couldn't be clicked unless the textbox has been filled. I have no idea how to write code in VB.NET. Anyone pls. help pls.
in the changed event of the textbox write this...
button1.enabled = (textbox1.Text.Trim.Length > 0)