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
|