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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Jan MontanoRank #1,295 · 1.3K reputationPosted Aug 30, 2007, 11:34 PM EDT
pandi s6 reputationPosted Aug 31, 2007, 1:23 AM EDT
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