List View in C# -
I have a ListView in my C # and I want to select an item based on the number I give . Is it possible?
Example: If my list adds, multiplied and divides as elements in the list, so if I give 2, then it has to be multiplied. All this should be programmatically
If this is ListItem value 2 - I just had to go with it:
_listView.SelectedValue = "2"; Or maybe more correct:
_listView.SelectedValue = _input.ToString ();
Comments
Post a Comment