Amol

Amol

  • NA
  • 208
  • 193.2k

How to delete a selected row in gridview

Nov 16 2011 12:05 PM
How to delete a selected row in gridview
pls help here is my .aspx control

<
asp:GridView ID="GridView1" runat="server" Width="100%" AutoGenerateColumns="False"> <Columns> <asp:TemplateField> <HeaderTemplate> <asp:CheckBox ID="CheckBox1" runat="server" Width="5%" /> <asp:Label ID="Label1" runat="server" Text="Subject"></asp:Label> </HeaderTemplate> <ItemTemplate> <asp:CheckBox ID="CheckBox2" runat="server" Width="5%" /> <asp:LinkButton ID="LinkButton1" Text='<%#Eval("md_subject") %>' runat="server" Width="70%">LinkButton</asp:LinkButton> </ItemTemplate> </asp:TemplateField> </Columns> </asp:GridView>

Answers (2)