private void listBox1_SelectedValueChanged(object sender, EventArgs e) { MessageBox.Show(listBox1.Text); MessageBox.Show(listBox1.SelectedValue.ToString()); }
The above method retrieves the displaytext (DisplayMember) and the selected value (DisplayValue) from the selected item of listbox
listBox1.Text
ReplyDeletethis small think i forgetting, thank for reminding....
thank
sachin
+919423538067