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
Israel
631
1.3k
217.3k
Displaying sequently combobox itens failed...
Sep 12 2017 8:57 AM
Hi!
On my Form I have:
1. One combobox
2. One label
3. One button
I have write these simples codes to display all the combobox'items to my label sequently (or automatically) when I click my button. But its doesnt do it. Thanx so much.
private void button1_Click(object sender, EventArgs e)
{
for (int i = 0; i < comboBox1.Items.Count; i++)
{
label1.Text = comboBox1.SelectedItem[i].ToString();
}
label1.Text = label1.Text;
}
Reply
Answers (
9
)
Browser using c#
Please update my code