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

Members online

No members online now.

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,234
Latest member
SkyeWeems

Latest Threads

Top