I am currently working with gridview of asp.net.
I am using a SELECT statement to fill the gridview. When I am editing and deleting using in the gridview, It doesn’t work, and all the example of this needs to pre-defined the columns of the gridvew meaning that there will be no SELECT statement to fill the gridview.
Is there a way that I can edit and delete the items in the gridview even though I use SELECT statement to fill the gridview?
Here is one way to modify the contents of the gridview cells:
You can use
GridView.DeleteRowto remove a row.