在GridView1_RowCommand事件中,如何取Rowindex

                    <EditItemTemplate>
                        <asp:CheckBoxList ID="cblXueke" runat="server" DataTextField="Id"
                            DataValueField="FullName" RepeatDirection="Horizontal" RepeatLayout="Flow">
                        </asp:CheckBoxList>
                        <asp:LinkButton ID="lkDel" runat="server" CommandName="DelXueke" CommandArgument='<%# ((GridViewRow) Container).RowIndex %>'>删除选中科目</asp:LinkButton>
                    </EditItemTemplate>
posted @ 2009-04-16 00:05  shiningrise  阅读(645)  评论(0编辑  收藏  举报
// 侧边栏目录 // https://blog-static.cnblogs.com/files/douzujun/marvin.nav.my1502.css