Results 1 to 3 of 3

Thread: Offline Database storage

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2002
    Posts
    21

    Exclamation Offline Database storage

    I am writing a program that will reside on a users computer and is for the home user who would not likely have an SQL server in their home. I want to know a way to store information on the clients machine without installing a database engine such as MSDE. I guess I could use disconnected DataSets but, I don't want to save the data in XML, as the user could view and change using notepad. I have heard about ADTG files. How do I save to this Microsoft format?

    How do programs normally do this? Binary files, text files....? I normally create programs with access to a database server. This is my first attempt at one that won't

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Offline Database storage

    I don't know whether this would be useful to you but you might think about using the XML solution and then encrypting the XML file. I don't know about ADTG files so I don't know which would be easier, but the encryption option shouldn't be too difficult.

  3. #3
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Offline Database storage

    There is also the possibility of using an Access database. You don't need to have Access installed to use an MDB file and there are some measures you can take to secure the file. You'd need to write code separate to that that's used for SQL Server, but it would be virtually the same. You would just be using System.Data.OleDb instead of System.Data.SqlClient.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width