Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27514

Getting information to load from database to listbox

$
0
0
Hello,
I am trying to get info to load from one of the tables in database. I got names to load so I know that the database is attached and working .
I think I need to create a for each loop but am not sure on how to do this with the database.

Dim query1 = From itemID In _MICROLAND_1__1_DataSet.Orders
Order By itemID
Distinct

ListBox1.DataSource = query1.ToList

Viewing all articles
Browse latest Browse all 27514

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>