M
MigrationUser 1
Guest
If I populate a combo box manually with items, I can get the selected item using
comboBox.SelectedItem.ToString();
But now I have created a databound combobox, but cannot find out how to get its selected value.
comboBox.SelectedItem.ToString();
Returns System.Data.DataRow
and
comboBox.SelectedText.ToString()
returns "". Even though a value is selected.
How can I get the selected text/value of a datbound comboBox??
Continue reading...
comboBox.SelectedItem.ToString();
But now I have created a databound combobox, but cannot find out how to get its selected value.
comboBox.SelectedItem.ToString();
Returns System.Data.DataRow
and
comboBox.SelectedText.ToString()
returns "". Even though a value is selected.
How can I get the selected text/value of a datbound comboBox??
Continue reading...