I already binding the database values into checkbox list. Now my query is if selected particular users and click save means the selected checkbox list values should store in another table how to do this.
When I click button Share means the checked items should save in another table.
<asp:CheckBoxList ID="CheckBoxList1" runat="server" Visible="True">
</asp:CheckBoxList>
<br />
<br />
<asp:Button ID="Button1" runat="server" Text="Share" />
private void checklistBIND()
{
DataSet ds = new DataSet();
user = Session["name"].ToString();
SqlConnection con = new SqlConnection(constr);
SqlCommand cmd = new SqlCommand("select fid,frndusername from friends where Username='" + user + "'", con);
SqlDataAdapt ...
Go to the complete details ...