07-21-2013, 06:17 PM
Hey guyz! Im interested how to import the list of the chars in DB to listbox?
Thanks in advanice!
|
[C#] Import list of the characters in DB to listbox
|
|
07-21-2013, 06:17 PM
Hey guyz! Im interested how to import the list of the chars in DB to listbox? Thanks in advanice!
07-21-2013, 06:25 PM
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"; |
|
« Next Oldest | Next Newest »
|