Ariel Popovsky's Blog

Aventuras y desventuras con .net
posts - 9, comments - 144, trackbacks - 0

My Links

News

Locations of visitors to this page

Twitter












Tag Cloud

Archives

Post Categories

My Sites

ObjectDataSource

There are 1 entries for the tag ObjectDataSource
Exception/Error handling using the ObjectDataSource
This post was going to be a rant about how using the ObjectDataSource was impossible to handle exceptions thrown while retrieving or updating data. After some experiments and reading some misleading posts I saw only three possible ways: Use a generic error handler like the Page Error event or the Application Error event in global.asax. Implement handlers for the Updating, Selecting and Deleting events of the GridView bound to the datasource, set the event.Cancel to true and then manually call the...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Posted On Monday, June 22, 2009 10:54 AM | Feedback (1) | Filed Under [ ASP.net ]

Powered by: