Click here to Skip to main content
15,887,267 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi guys,

i'm working on a project. Currently I have a Datatable which was filled (linked) by a large .csv files. I would like to take the contents to DataTable and transfer it in a binary file. In addition, any changes I will make will be saved in this binary file.

The goal is that I use a "more secure" file that the .csv file, that is to say that the content is not displayed as a text editor. (I know I can use a database, but for now Im still in step 1, be working with files! :) )

If not, is there any other type of file that would offer me a "certain safety" other than the binary file? If yes, which ones?

Thanks guys!

What I have tried:

In short, I did several internet search, I found nothing conclusive. I'm sure i can do it. But I have not figured out how! So yeah, i didnt code anything yet. Im still searching but if anyone can help me start with a link or an algorithm, it would be really nice!
Posted
Updated 25-Sep-16 7:06am

1 solution

A data table supports writing the content into a XML file. However that could be even more readable than CSV.

One way to make the content not so easy to read could be to compress the XML file. Another option would be to encrypt the content or do both. If that would be of interest, have a look at Encrypting a dataset using AES, including compression[^]
 
Share this answer
 

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