|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Save data table to binary file?I have some project that use with DataTable like simple DB.
I need a solution for save the DataTable to binary file, with ability to Append only new record. I looking for code that Implement simple providor or save method that do that. Which .net?
Both 1.x and 2.0 allowe you to serialize it to disk while the later is better. -- Show quoteMiha Markic [MVP C#] RightHand .NET consulting & development www.rthand.com Blog: http://cs.rthand.com/blogs/blog_with_righthand/ <mtczx***@yahoo.com> wrote in message news:1144133719.240992.30600@i39g2000cwa.googlegroups.com... >I have some project that use with DataTable like simple DB. > I need a solution for save the DataTable to binary file, with ability > to Append only new record. > > I looking for code that Implement simple providor or save method that > do that. > Micha
NET framework 2.0 notice, I looking for append new records to disk, not save hole table every time when i do save. Then that is something different.
Perhaps if you describe broader view I might help you better. Why do you need datatable in binary format on the disk? Did you consider XML? It isn't binary but it will let you append. -- Show quoteMiha Markic [MVP C#] RightHand .NET consulting & development www.rthand.com Blog: http://cs.rthand.com/blogs/blog_with_righthand/ <mtczx***@yahoo.com> wrote in message news:1144146438.215062.37950@v46g2000cwv.googlegroups.com... > Micha > > NET framework 2.0 > > notice, I looking for append new records to disk, not save hole table > every time when i do save. > Hi,
Maybe this thread might help you http://tinyurl.com/myerc Otherwise there is still "brute force" approach - open text file, move right before the ending root node and start writting there. -- Show quoteMiha Markic [MVP C#] RightHand .NET consulting & development www.rthand.com Blog: http://cs.rthand.com/blogs/blog_with_righthand/ <mtczx***@yahoo.com> wrote in message news:1144163318.318486.128670@e56g2000cwe.googlegroups.com... > OK, if i want to append new records to XML file, how I do that? > |
|||||||||||||||||||||||