aspxgridview

ASP.NET GridView: How to edit and delete data records

血红的双手。 提交于 2019-11-26 09:59:36
问题 Hi I have used gridview to create a table. Is there a way to implement edit and delete. I have done it in PHP before. The method I would like to use is create two more columns in the table with edit and delete buttons on each row. Then when the buttons are click it passes the \'id\' through the URL and able to edit or delete. Not really sure how to do this in asp.net webforms. Below is my code for the table. Thank you. <asp:GridView ID=\"GridView1\" runat=\"server\" AutoGenerateColumns=\