I would like to get the value and id of a checkbox in a repeater, and save the value in database. Here is what I have;
Repeater;
- I have an id like this ; <%# DataBinder.Eval(Container.DataItem, "ID")%>">
the checkbox i want to use
<asp:CheckBox ID="chkRemind" runat="server" OnCheckedChanged="Check_Changed" AutoPostBack="true" />
code behind
protected void Check_Changed(Object sender, EventArgs e) {
I need to know the Id and find out the current checkbox value
so i can do
UpdateDB(ID, checkboxValue);
}