kunal.kb Member Joined Sep 8, 2005 Messages 21 Programming Experience Beginner Sep 12, 2005 #1 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 Sep 12, 2005 #2 Basically it is something like this: VB.NET: [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] Upvote 0 Downvote
Basically it is something like this: VB.NET: [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 Sep 12, 2005 #3 hay this is not fixing my problem.... can u explain it in some detail....... Upvote 0 Downvote