Save data table to binary file?

  • Thread starter Thread starter mtczx232
  • Start date Start date
M

mtczx232

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.
 
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.
 
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.
 
I not understand you, I asking for Code that Save new rows from
Datatable. I not have XML doc!
 
Back
Top