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
Vasanth Jack
NA
289
35.2k
The same value is repeat when we check more than one chkbox
Feb 1 2017 6:27 AM
When i check more than one check box it repeat the same value like below
when i clik 1 means it seems 1
when i click 1 and 2 means it seems 1,1,2
string val = string.Empty;
StringBuilder sb = new StringBuilder();
foreach (ListItem it in cckk.Items)
{
if (it.Selected)
{
val += sb.Append(it.Value + ',');
ViewState["vallue"] = val.Remove(val.Length - 1).ToString();
}
}
string a1a = Convert.ToString(ViewState["vallue"]);
}
Reply
Answers (
1
)
How do I download VS 2013 or 2015 IDE?
About Constructor