Prevent update on GridView

  • Thread starter Thread starter David C
  • Start date Start date
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
 
Back
Top