View Single Post
  #1 (permalink)  
Old August 27th, 2011, 08:47 AM
Antonius Block Antonius Block is offline
Authorized User
Points: 233, Level: 4
Points: 233, Level: 4 Points: 233, Level: 4 Points: 233, Level: 4
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2011
Posts: 44
Thanks: 14
Thanked 0 Times in 0 Posts
Default Chapter 14, page 500, Deleted event

Hi, Imaar

In a "Try It Out" of chapter 14 (Presenting data - Advanced topics), on page 499-500 you set up an event handler for the Deleted event of a SqlDataSource in order to catch a foreign-key exception.
That's OK.

Could I use the RowDeleted event of the GridView to get the same result ?

In other words, what is the difference between DataSource and DataBound controls' events ?

Thanks
Reply With Quote