I had gridview whch bind datasource and I add edit command to gridview to update data and when updating errors apeared so I want to handle these error in label in row_updated event
without asp error
I had gridview whch bind datasource and I add edit command to gridview to
Share
Are you using a data source control? Errors from the database can be handled in the DataSourceControl.Updated event, and even cancel that the error happened. For GridView, I’m not sure its as powerful in that regard; there are certain binding errors you cannot capture, and would need to capture the error via the Page_Error or the Application_Error event… However, if you manually write code to do the update, you can always wrap with a try/catch block…
HTH.