グリッドビューのヘッダーにある2つのラジオボタンを使用して、同じラジオボタンを持つ同じ列の対応するすべてのレコードを選択するにはどうすればよいですか?
これが私のコードです:
<asp:TemplateField HeaderText="Page">
<HeaderTemplate>
<asp:RadioButton ID="RadioButton1" runat="server" Text="Select All Colour" />
<asp:RadioButton ID="RadioButton2" runat="server" Text="Select All B/W" />
</HeaderTemplate>
<ItemTemplate>
<asp:RadioButton ID="RadioButton3" runat="server" Text="Colour" />
<asp:RadioButton ID="RadioButton4" runat="server" Text="B/W" />
</ItemTemplate>
</asp:TemplateField>