Validate fields on form before submitting data into database.
I design registration form on this form contains total 8 textboxes and 4 combobox . I want to insert these textboxes & combobox data into database by checking that textboxes & combobox values cannot be blank. Please tail me the shot code to check textboxes not to keep blank using c#.