How to delete a row from GridView?

后端 未结 7 502
攒了一身酷
攒了一身酷 2020-11-29 12:14

I am using GridView control in asp.net 2005 c# using .

How can I delete a particular row from GridView.

I have written the followin

7条回答
  •  心在旅途
    2020-11-29 12:48

    You're deleting the row from the gridview and then rebinding it to the datasource (which still contains the row). Either delete the row from the datasource, or don't rebind the gridview afterwards.

提交回复
热议问题