V VB Programmer Jul 2, 2005 #1 I have 1 table in a dataset. How can I easily convert it to an arraylist (with structure arraylist elements)?
I have 1 table in a dataset. How can I easily convert it to an arraylist (with structure arraylist elements)?
C Chad Z. Hower aka Kudzu Jul 2, 2005 #2 VB Programmer said: I have 1 table in a dataset. How can I easily convert it to an arraylist (with structure arraylist elements)? Click to expand... What type do you want to store in the arraylist? Why do you want to convert it to an arraylist. -- Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/ "Programming is an art form that fights back" Empower ASP.NET with IntraWeb http://www.atozed.com/IntraWeb/
VB Programmer said: I have 1 table in a dataset. How can I easily convert it to an arraylist (with structure arraylist elements)? Click to expand... What type do you want to store in the arraylist? Why do you want to convert it to an arraylist. -- Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/ "Programming is an art form that fights back" Empower ASP.NET with IntraWeb http://www.atozed.com/IntraWeb/
A Armin Zingler Jul 2, 2005 #3 VB Programmer said: I have 1 table in a dataset. How can I easily convert it to an arraylist (with structure arraylist elements)? Click to expand... I don't know what you mean by "structure arraylist elements", but... : al.AddRange(ds.Tables("mytable").Select) Armin
VB Programmer said: I have 1 table in a dataset. How can I easily convert it to an arraylist (with structure arraylist elements)? Click to expand... I don't know what you mean by "structure arraylist elements", but... : al.AddRange(ds.Tables("mytable").Select) Armin
C Cor Ligthert Jul 3, 2005 #4 VB Programer dim ar as arraylist For each dt as datatable in ds.tables ar.add(dt) Next This can have sense when you want to remove some datatables from a a dataset and place them originaly again in another one. However as Kudzu said, what is your goal? I hope this gives an idea Cor
VB Programer dim ar as arraylist For each dt as datatable in ds.tables ar.add(dt) Next This can have sense when you want to remove some datatables from a a dataset and place them originaly again in another one. However as Kudzu said, what is your goal? I hope this gives an idea Cor