当TemplateColumn的行发生变化(asp:radiobuttonlist)时获取DataGrid的行索引
<asp:DataGrid ID="dgTier2" runat="server" AutoGenerateColumns="False" Width="578px"
Height="83px" OnItemDataBound="dgTier2_ItemDataBound">
<asp:BoundColumn DataField="TypeID" HeaderText="TypeID">
</asp:BoundColumn>
<asp:BoundColumn DataField="Type" HeaderText="Category Type">
</asp:BoundColumn>
<asp:TemplateColumn HeaderText="Manual Tracking Option" >
<ItemStyle VerticalAlign="Bottom" />
<itemtemplate>
<asp:radiobuttonlist id="rdbtnManual" runat="server" on RepeatDirection="Horizontal">
<asp:listitem id="M" runat="server" Text="Manual" Value="1" />
<asp:listitem id="A" runat="server" Text="NoManual" Value="0" />
</asp:radiobuttonlist>
</itemtemplate>
</asp:TemplateColumn>
</asp:DataGrid>
在更改 rediobutton 选择以获取更改行的 Rowindex 之后。如果在许多行中发生了所有更改,我需要收集 Rowindexs。这是否可行?