Linqdatasource updating

Rated 3.80/5 based on 614 customer reviews

In the event handler, check whether the Exception property of the event argument class contains a value other than null.

If the Exception property is not null, one or more validation exceptions were thrown and you can retrieve each validation exception in the property.

ASPx Data Inserting Event Args e) everithing works fine... You typically handle exceptions in the Updating, Deleting, and Inserting events.If a validation exception is thrown, the Exception property of the Linq Data Source Update Event Args, Linq Data Source Delete Event Args, or Linq Data Source Insert Event Args object contains a object.You would able to Edit, Delete and View the data in Grid View without writing a single line of code.So open properties of Grid View and enable the options by cheking the chekboxes.

Leave a Reply