What causes this error? Here is an example that will cuase it.
I have a listbox and when someone clicks on a entry in the listbox I tried to do:
string x;
x = listbox1.SelectedValue.ToString();
I am tring to understand the general rule on this because I come across it alot.
Thanks for any input!
I have a listbox and when someone clicks on a entry in the listbox I tried to do:
string x;
x = listbox1.SelectedValue.ToString();
I am tring to understand the general rule on this because I come across it alot.
Thanks for any input!