i m working in windows application for vb.net...
i have 4 fields in my application..if i did't fill any data in that 4 fields i want to show error like ..please enter necessary fields..i dono how to check whether the field is filled or empty..
i m working in windows application for vb.net...
i have 4 fields in my application..if i did't fill any data in that 4 fields i want to show error like ..please enter necessary fields..i dono how to check whether the field is filled or empty..
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
pandi sPosted Aug 31, 2007, 5:23 AM
If you are using textbox, use
if TextBox1.Text.Trim = String.Empty Then 'or TextBox1.Text.Trim =""
your code..
end if
errorprovider is also there.. you can use it
Jan MontanoPosted Aug 31, 2007, 3:34 AM