Populating drop down from recordset

ninel

Active member
Joined
Mar 23, 2005
Messages
32
Location
Land O Lakes, Florida
Programming Experience
3-5
I have a stored procedure that returns a recordset containing project names. I need to populate a drop down with this recordset.

How do I do this with vb.net?

Thanks,
Ninel
 
I strongly suggest that you use ADO.NET to get your data into a DataSet or DataTable rather than the old VB6/ADO recordset. Data-binding takes a couple of lines of code using a DataTable. It may or may not be as simple with a recordset (never used one so I don't know) but ADO.NET is the preferred method of data access in .NET apps.
 
Back
Top