Click here to Skip to main content
14,300,703 members
Rate this:
Please Sign up or sign in to vote.
See more:
Hello everybody...
I'd like to save my ArrayList content to my SQL DataBase but because my ArrayList could be very large
i'm gonna need to save the ArrayList to a text DataType in my SQL DataBase and i need to do it through a property.
I know how to use a property but i don't know how can i merge the ArrayList and save it to a text DataType !
I mean when you want to merge the content of ArrayList you gonna need a very large single space for it, like the DataSet or DataTable and also i don't know can i use the DataSet or DataTable or something like that or not !

could you please someone help me ?
Updated 5-Jan-14 21:16pm
Karthik_Mahalingam 6-Jan-14 3:21am
what does your array list consists of ??
Amir Mahfoozi 6-Jan-14 4:38am
You can serialize your ArrayList and store it in a text data type.
Mohammad Sadegh Zohari 6-Jan-14 11:20am
just numbers (double)
Mohammad Sadegh Zohari 6-Jan-14 11:34am
because i'm writing a component if i have to do something special to save the ArrayList into text DataType through a property, i'd like to do it on property side.i don't like when user try to save the property content(ArrayList) to Text DataType he or she has to do a very complicated things .
Mohammad Sadegh Zohari 6-Jan-14 11:35am
Thanks... But how can i do it ? how to serialize the ArrayList ?
Amir Mahfoozi 6-Jan-14 13:30pm
Karthik_Mahalingam 6-Jan-14 19:51pm
post your code, i wil help you.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100