[C#] Import list of the characters in DB to listbox
#2

You can simply add it:

Listbox1.Items.Add(item);
or
Listbox1.Items.Insert(index. item)

Another is to put your datasource into your listbox:

DataTable dt = new DataTable();
dt.Load(dbreader);
listBox1.DataSource =dt;
listBox1.DisplayMember = "test_column";



Messages In This Thread
[No subject] - by Paramount - 07-21-2013, 06:17 PM
[No subject] - by someone - 07-21-2013, 06:25 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)