There is a Gridview in my web page in which data is coming from below Table 1:
Id
|
Name
|
Value
|
1
|
aa
|
30
|
2
|
bb
|
80
|
3
|
cc
|
60
|
HTML:
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" AllowPaging="True" PageSize="8" OnPageIndexChanging="GridView1_PageIndexChanging">
<Columns>
<asp:BoundField DataField="id" HeaderText="ID" />
<asp:BoundField DataField="Name" HeaderText="Name" />
<asp:BoundField DataField="" HeaderText="Value" />
</Columns>
</asp:GridView>
<asp:Button ID="BShow" runat="server" Text="Show Data" OnClick="BShow_Click" />
1) I want to use RadioButton inside Gridview to select rows of gridview.
I tried using ASP RadioButton, but it is multi selecting the Grid rows.
I want single selection of RadioButton one at a time while selecting rows.