When I click the Submit Button in a form it should check whether 6-7 textboxes,2-3 pictureboxes nd combobox which resides in that form should not be empty..?
How it is possible in Short to provide this validation..???

Recommended Answers

Check if the Text property of the TextBoxes is not empty.
Check if the Imageproperty of the PictureBoxes is not null.
Check if the Itemsproperty of the Comboboxes is not empty.

Jump to Post

All 2 Replies

Check if the Text property of the TextBoxes is not empty.
Check if the Imageproperty of the PictureBoxes is not null.
Check if the Itemsproperty of the Comboboxes is not empty.

You didnt tell what will be the validation like? I mean, what will you validate?!
For TextBoxes, you can do (if you have them that many) some additional method for validating textBoxes one by one.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.