files??

  • 12 years ago

    hi


    i want to write the contents of the database(msaccess) to a file.


    i donot know anything about files
    can anyone help me
    what to do with this
    do help me plz

  • 12 years ago
    I can't speak for others but it really annoys me when people post the same question in more than one thread.  If others can't or don't want to answer your question the first time around then that's their prerogative, and a second thread is not going to change that.

    If you want a copy of the Access file then just use System.IO.File.Copy.  If you want to write the data to a flat file, like a CSV, then you'll need to read all the data from Access using ADO.NET and then use a StreamWriter to write to a text file.  I suggest you read up on the StreamWriter class in the help or on MSDN.

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“There are only 3 numbers of interest to a computer scientist: 1, 0 and infinity”