DimMeAsLost
Active member
- Joined
- Jan 31, 2010
- Messages
- 29
- Programming Experience
- 1-3
I do not want to jump in someone's post, but if it is not acceptable, please delete. I apologize beforehand.
My question is the last code tag section above where the parameters are set for the input. If on the form there is a textbox that is required (on the db side to not allow nulls) how would you perform the validation before you tried to execute the update sql?
Ex: say 'SerialNumberTextbox.Text' was empty or if you needed to have character constraints on what was typed like varchar(15) and they have 16 or more characters, what would be a great practice to implement?
Thanks
My question is the last code tag section above where the parameters are set for the input. If on the form there is a textbox that is required (on the db side to not allow nulls) how would you perform the validation before you tried to execute the update sql?
Ex: say 'SerialNumberTextbox.Text' was empty or if you needed to have character constraints on what was typed like varchar(15) and they have 16 or more characters, what would be a great practice to implement?
Thanks