Hi, I need help for this problem that i'm trying to solve for a while (i'm Using ASP.net and C#). How do i submit the values from selected checkbox lists into database using c#....
Here's the code:
..........................................................................
<asp:CheckBoxList ID="CheckBoxList1" runat="server" Font-Bold="False"
Font-Names="Vrinda" Width="338px" style="text-align: left">
<asp:ListItem>Public Tap</asp:ListItem>
<asp:ListItem>Well Water</asp:ListItem>
<asp:ListItem>Hand Pump</asp:ListItem>
<asp:ListItem>Tap Water Within House</asp:ListItem>
</asp:CheckBoxList>
<asp:CheckBoxList ID="CheckBoxList2" runat="server" Font-Bold="False"
Font-Names="Vrinda">
<asp:ListItem>Within the House</asp:ListItem>
<asp:ListItem>Neighbour's House</asp:ListItem>
<asp:ListItem>Within 50 Meters</asp:ListItem>
<asp:ListItem>More than 50 Meters</asp:ListItem>
</asp:CheckBoxList>
................................