Prevent update on GridView

D

David C

I have a GridView for editing dropdown selection tables. The tables do not
allow null (empty) text. How can I avoid running the update if a user
blanks out the TextBox? I am thinking I need to use the OnUpdating method
but I'm not sure how to refer to the current TextBox. Currently, it throws
an SQL exception. Thank you.

David
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top