hi,
this is my code
<asp:BoundField DataField="admno" HeaderText="admno" ReadOnly="True" SortExpression="admno">
<ItemStyle HorizontalAlign="Center" />
<asp:TemplateField HeaderText="Attendance">
<ItemTemplate>
<asp:RadioButtonList ID="rbd_join" AutoPostBack="true" runat="server" RepeatDirection="Horizontal">
<asp:ListItem Text="Present" Value="1"></asp:ListItem>
<asp:ListItem Text="Absant" Value="0"></asp:ListItem>
</asp:RadioButtonList>
</ItemTemplate>
</asp:TemplateField>
in the buttonclick event i want to insert the values based on the selection of either absant or present....
Thanks in advance