Wednesday, October 28, 2009

How to Handle Delete/update error Exception in Gridview

Basically i have a grid view that has a delete function, but if the record has a Foreign Key relation with another table, then we cant delete this Row. which is good! but the error is not very nice.

this Article: http://www.asp.net/learn/data-access/tutorial-18-vb.aspx Guides on how to handle such exception:-


No comments: