first is my database by using this code i have stored the values for checked items.
private void updatesegments()
{
SqlCommand cmd = new SqlCommand();
for(int j=0;j < ChckListBxSegments.Items.Count;j++)
{
if (ChckListBxSegments.Items[j].CheckState == Telerik.WinControls.Enumerations.ToggleState.On)//togglestate has 3 modes .When it is set to on then only it will enter into it
{
Program.StrSql = "Update QbGeneralLookup set ActiveFlag = 3 Where LookupId = 7 and Description ='" + ChckListBxSegments.Items[j].Value + "'";
cmd.Connection = Program.QbAppDbCon;
cmd.CommandText = Program.StrSql;
cmd.ExecuteNonQuery();
}
}
}
now i need to display to the checkbox as whether it is checked or not according to the value that stored

Raja TRank #685 · 3.5K reputationPosted Sep 11, 2015, 3:28 AM EDT
Raja TRank #685 · 3.5K reputationPosted Sep 10, 2015, 10:26 PM EDT
Vivek Joy139 reputationPosted Sep 10, 2015, 10:45 PM EDT
Raja TRank #685 · 3.5K reputationPosted Sep 10, 2015, 11:01 PM EDT
Raja TRank #685 · 3.5K reputationPosted Sep 10, 2015, 11:03 PM EDT
Sabyasachi MishraRank #889 · 2.4K reputationPosted Sep 10, 2015, 11:04 PM EDT
Vivek Joy139 reputationPosted Sep 10, 2015, 11:28 PM EDT
Vivek Joy139 reputationPosted Sep 10, 2015, 11:30 PM EDT
Vivek Joy139 reputationPosted Sep 11, 2015, 3:26 AM EDT
Vivek Joy139 reputationPosted Sep 11, 2015, 5:12 AM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts