how to see details about an item present on listbox....i want to know the code?
smartjugal 0 Newbie Poster
Recommended Answers
Jump to PostIf you mean the currently selected item, you should investigate the ListBox.SelectedItem property. If you need to look at all of the items in a ListBox, then the
Jump to Postyes i meant the first one but a little bit broader like....
private void listBox1_SelectedIndexChanged(object sender, System.EventArgs e)
{
// Get the currently selected item in the ListBox.
string curItem = listBox1.SelectedItem.ToString();after getting item from listbox i want to show the details of that item on another form in …
All 7 Replies
gusano79 247 Posting Shark
smartjugal 0 Newbie Poster
Mitja Bonca 557 Nearly a Posting Maven
gusano79 247 Posting Shark
smartjugal 0 Newbie Poster
gusano79 247 Posting Shark
Mitja Bonca 557 Nearly a Posting Maven
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.