I want to Delete a row in the Gridview which is in the update panel . But instead of the command button ., i took a link button to get a confirmation message. Now if I press ok
I presume you have a method which sends a delete query.
Make a RowDeleting event handler, pass your row index using e.RowIndex to the delete method.
RowDeleting
e.RowIndex
Use this e.RowIndex to write a query to delete the 'n'th row of your table. and then bind the data to your gridView.