Which is the better window form data control for me to display all the data from the database? I wanted to use the combobox but it only display the selected column. Can anyone help me?
Thanks
LiL_Is Tuesday, July 21, 2009 6:58 AM
hello Lil , You can display data in listbox or datagridview. But ListBox was never intended to display tabular data, and datagridview is more manageable and easy to use.
Marked As Answer byLiL_IsWednesday, July 22, 2009 1:23 AM
NareshG Tuesday, July 21, 2009 10:20 AM
Try to use the DataGridView.
Good Luck.
VB.NET Programmer
KET_LORENZO Tuesday, July 21, 2009 7:09 AM
Hi KET_LORENZO,
Is there any beside datagridview control? I want to display the data in combobox but it only display the selected item. Is there other way that the combobox can display all the data from the database.
Thanks.
LiL_Is Tuesday, July 21, 2009 7:53 AM
Hi KET_LORENZO,
Lets say i have a table name tblCust and contain 4 columns(id,name,tel,address,) but i want to display only 2 out of 4 columns. So is there some solutions??
Thanks
LiL_Is Tuesday, July 21, 2009 8:53 AM
hello Lil , You can display data in listbox or datagridview. But ListBox was never intended to display tabular data, and datagridview is more manageable and easy to use.
Marked As Answer byLiL_IsWednesday, July 22, 2009 1:23 AM