array list

kunal.kb

Member
Joined
Sep 8, 2005
Messages
21
Programming Experience
Beginner
any one plz help me how to assign values to a arraylist using datareader
 

ayozzhero

Well-known member
Joined
Apr 6, 2005
Messages
186
Location
Malaysia
Programming Experience
1-3
Basically it is something like this:

Code:
[color=Blue]Dim [/color]Array1 [color=Blue]As New[/color] ArrayList
[color=Blue]While [/color]MyDR.Read
	Array1.Add(MyDR("fieldname"))
[color=Blue]End While[/color]
 

kunal.kb

Member
Joined
Sep 8, 2005
Messages
21
Programming Experience
Beginner
hay

this is not fixing my problem....
can u explain it in some detail.......
 
Top Bottom