TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Vivek Joy
NA
137
26.7k
radcheckedlistbox
Sep 11 2015 1:24 AM
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
Attachment:
new folder.zip
Reply
Answers (
10
)
how to use json conversion in windows form application
Exception type 'Newtonsoft.Json.JsonSerializationException