I have 2 list boxes one is connected to a database the other isnt.
I want to be able to send the selected item from the listbox connected to the database to the one that isnt.
Ive written this code
listBox2.Items.Add(listBox1.SelectedItem);
But instead of copyin the item i get "
System.Data.DataRowView
Anyone having any advice?
Pravesh Singh
12-Dec-2013This is the simplest way to load a listbox to another list box and at the same time remove the data from the sorce listbox