Hi Everyone,
I have a gridview
<asp:GridView ID="grid" runat="server" AutoGenerateColumns="false" DataKeyNames="Id"ShowHeaderWhenEmpty="true">
inside the gridview there is a column with checkbox and another label.
<Columns>
<asp:TemplateField>
<ItemTemplate>
<asp:CheckBox runat="server" ID="Retrieve" />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField>
<ItemTemplate>
<asp:Label ID="lblName" runat="server" Text='<%# Eval("Name") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
My question is how do i retrieve that particular row of data according to the Checkbox checked.
Like for exmaple, the gridview i check the checkbox which is in the row 3. How do i retrieve the row 3 data?
Everyone, Please help me.. i have been searching for days and found same thing on the net. Would you provide me with some guideline? I really need some guideline to assist me..
Your help is great appreciated.
If you have any enquire Please post below. i will answer as soon as possible.
Thanks,
Esther.