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
Devendra Kumar
NA
517
246k
cheched value from checkbox show one by one on label
Jan 21 2016 1:19 AM
protected void ddsize_SelectedIndexChanged(object sender, EventArgs e)
{
List<String> lbl_Size = new List<string>();
List<String> lbl_Size1 = new List<string>();
foreach (System.Web.UI.WebControls.ListItem item in ddsize.Items)
{
if (item.Selected)
{
lbl_Size.Add(item.Text);
lbl_Size1.Add(item.Text);
lbl_size1.Text = " $: " + String.Join(",", lbl_Size.ToArray());
lbl_size2.Text = " $: " + String.Join(",", lbl_Size.ToArray());
lbl_size1.Visible = true;
lblprice.Visible = true;
txt_price.Visible = true;
txt_pricesize2.Visible = true;
lbl_size2.Visible = true;
}
}
}
Reply
Answers (
4
)
in dropdown checkbox checked value bind on lable
About Cache !!!