Click here to Skip to main content
15,881,803 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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 ?
Posted
Updated 5-Jan-14 21:16pm
v2
Comments
Karthik_Mahalingam 6-Jan-14 3:21am    
what does your array list consists of ??
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 .
Karthik_Mahalingam 6-Jan-14 19:51pm    
post your code, i wil help you.
Amir Mahfoozi 6-Jan-14 4:38am    
You can serialize your ArrayList and store it in a text data type.

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900