Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Visual Basic .NET (http://www.programmingforums.org/forum19.html)
-   -   SQL connection string (populating a list box from a table in a database) (http://www.programmingforums.org/showthread.php?t=3011)

Gapper Mar 31st, 2005 9:34 AM

SQL connection string (populating a list box from a table in a database)
 
How do i populate the list box, needing the connection properties. Dim connection as SQLConnection doesn't work.

Bharathi Apr 21st, 2005 2:08 AM

Programming Listbox in vb.net using DataAdapter and DataSet
 
Hi,

I will give you the steps.

1.Opening a Connection.
2.Instantiate the Commands.
3.Instantiate the DataAdapter.
4.Setting the DataAdapter command properties
5.Add Select Command Properties
6.Instantiate the DataSet
7.Populate the DataSet
8.Traverse the DataSet, Filter the DataSet and Populate the list box with data.


I have learned .Net programming Using the Books

Application Series Books teach the reader how to develop an accounting package for a client server network. These books also teach all the secrets and logics required to develop an accounting package.
Books for developing your own Accounting and Inventory Management Application.

Log on to :http://www.vkinfotek.com for details.

Regards
Bharathi


All times are GMT -5. The time now is 2:29 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC