Array from database data

kraftzy

New member
Joined
May 5, 2008
Messages
1
Programming Experience
Beginner
Hi,
I a am a newbie to vb.net and facing a difficult task (which might sound very simple to most of you). I have this query which finds particular set of data from SQL table. The query is "SELECT kID from Konf where uID= 1" and it returns multiple values like 1,2,3,4,5...

My prob is that I want to create an array with all the values returned by the query but have absolutely no idea how to go about that. Pls help. I would appreciate a detail explanation if possible with example codes as I am very new to this. Thank you
 
arrays are dumb, dont use them for this kind of work. If youre completing a homework and you HAVE to use an array, download the data into a datatable first.

Youre gonna need a help to start all this though, so go and read the DW2 link in my signature starting with Creating a Simple Data App
 

Latest posts

Back
Top