因为在GridView的模板列中 使用了自加的编辑及删除按钮
前台代码如下:
<asp:GridView ID="gv_Info" runat="server" AllowSorting="True"
AutoGenerateColumns="False"
CssClass="GridView" OnRowCommand="gv_Info_RowCommand"
OnRowDataBound="gv_Info_RowDataBound"
OnSorted="gv_Info_Sorted" OnSorting="gv_Info_Sorting"
Width="100%" AllowPaging="True" >
...
<asp:TemplateField HeaderText="Operation" >
<ItemStyle HorizontalAlign="Center" VerticalAlign="Middle"/>
<ItemTemplate>
<asp:ImageButton ID="imgbtn_Edit" runat="server"
AlternateText="Edit"
GridView“gv_Info”激发了未处理的事件“RowEditing” “RowEditing”
最新推荐文章于 2022-06-02 21:42:31 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)