G
Guest
if(listBox.SelectedItem.Text != null)
{
// test
}
This code gives exception if no item is selected in the list box, how can I
check if any item is selected or not?
{
// test
}
This code gives exception if no item is selected in the list box, how can I
check if any item is selected or not?