how to display data in a listbox?
-
i have a database of lists of subjects...then in my module, i want to display all the subjects that i recorded in the listbox... how can i do it? i already connect my dataset in the connection wizard but i can't display it in the listbox.
if your simply displayin the values of a single column of a DataTable then just make a new bindingSource and fill it with the tableAdapter. Give the bindingSource Name as its DataSource and specify its valueColumn n Display Values from the properties pane if you like. Thanks
Rocky You can't climb up a ladder with your hands in your pockets.
-
if your simply displayin the values of a single column of a DataTable then just make a new bindingSource and fill it with the tableAdapter. Give the bindingSource Name as its DataSource and specify its valueColumn n Display Values from the properties pane if you like. Thanks
Rocky You can't climb up a ladder with your hands in your pockets.
-
How can i do it? will i make codes for that or will i just set the databindings in the properties of the listbbox?
ms-help://MS.MSDNQTR.v80.en/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_fxmclictl/html/dfd7f081-8bea-4a41-86a3-86a1934828ef.htm
chk this address in your MSDN 2005. and whenever u ask questions such as this always specify your application like C# 1.1,2.0, SQL Server 2000 or whatever
Rocky You can't climb up a ladder with your hands in your pockets.
-
ms-help://MS.MSDNQTR.v80.en/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_fxmclictl/html/dfd7f081-8bea-4a41-86a3-86a1934828ef.htm
chk this address in your MSDN 2005. and whenever u ask questions such as this always specify your application like C# 1.1,2.0, SQL Server 2000 or whatever
Rocky You can't climb up a ladder with your hands in your pockets.
-
my MSDN library is not installed...i just borrow the cd can you just tell me the process, pleassssse!:)
-
my MSDN library is not installed...i just borrow the cd can you just tell me the process, pleassssse!:)
For Heaven's Sake! just open the MSDN.com over the web. go to the index and type ListBox COntrol. There will be a section of data binding. Read it and Follow the instrunctions. These forms are meant to benefit all the people, Thats the way we play the game. You can find a few articles on CP as well. Learn to LURk Before you leap. Search this same topic in this fforum as well. I'm sure you'll find something useful\ Thanks
Rocky You can't climb up a ladder with your hands in your pockets.
-
For Heaven's Sake! just open the MSDN.com over the web. go to the index and type ListBox COntrol. There will be a section of data binding. Read it and Follow the instrunctions. These forms are meant to benefit all the people, Thats the way we play the game. You can find a few articles on CP as well. Learn to LURk Before you leap. Search this same topic in this fforum as well. I'm sure you'll find something useful\ Thanks
Rocky You can't climb up a ladder with your hands in your pockets.