In my previous article I have explained about Code used to How to generate random strings/passwords using c#.net. In this article I am going to explain about how to show the confirmation message while deleting the row from the grid view using c#.net.
For the explanation purpose I have created table with cities named tempCities and created two procedures one for inserting and another one for deleting.
Below is the script used.
Then I have a grid view control in my page which will show the city details
If you try to delete the row then it will ask for the confirmation like below
Below is the aspx code used
Below is the aspx.cs code used
Do you like this article? Help us to improve. Please post your comments below.