Posted on: 11/26/2013 6:03:14 PM | Views : 343

Hello Hope you can help. I have a checkbox list which goes and gets a list of categories (name & id). This is working fine:
Dim SQLConnection As New SqlConnection(System.Configuration.ConfigurationManager.AppSettings("mysqlstr")) Dim cmd As New SqlCommand Dim LoadReader As SqlDataReader cmd.CommandText = "LoadTopLevelCategories" cmd.CommandType = CommandType.StoredProcedure cmd.Connection = SQLConnection SQLConnection.Open() LoadReader = cmd.ExecuteReader() If LoadReader.HasRows Then CheckBoxList1.DataSource = LoadReader CheckBoxList1.DataTextField = "name" CheckBoxList1.DataValueField = "id" CheckBoxList1.DataBind() End If SQLConnection.Close() I have another table which has a list of these categories that have been checked previously, is it possible for a chec ...

Go to the complete details ...