Jeffrey W
Jeffrey W

Reputation: 89

ListView selected item and button interaction?

Let's say I have a ListView with several items as "stages" in a game, and one button that says "start stage". How can I check which item is selected at the button_click handler, so I can load the appropriate stage?

Note: Using VisualStudio (C#)

Upvotes: 0

Views: 65

Answers (1)

KratosMafia
KratosMafia

Reputation: 333

dropdownlist1.selectedValue

Think that is what you are saying by how you phrased it

Upvotes: 1

Related Questions