Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. MS Access Database Backup using C#.net

MS Access Database Backup using C#.net

Scheduled Pinned Locked Moved C#
csharpdatabasehelptutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    savitri
    wrote on last edited by
    #1

    Hi All, How to take database backup through programming? and i want to create new database using old database means i want to copy all the tables of old database to new database. How to do this? Is it possible in C#.net? Please tell me how to do it. If any one have examples for this topic please give me. Its urgent please help me out. Thanks in advance. Regards, Savitri P

    M 1 Reply Last reply
    0
    • S savitri

      Hi All, How to take database backup through programming? and i want to create new database using old database means i want to copy all the tables of old database to new database. How to do this? Is it possible in C#.net? Please tell me how to do it. If any one have examples for this topic please give me. Its urgent please help me out. Thanks in advance. Regards, Savitri P

      M Offline
      M Offline
      musefan
      wrote on last edited by
      #2

      Good thing about Access is its a file!...

      System.IO.File.Copy("old file path", "new file path", true);//true to override destination file

      There, perfect copy :-D

      Life goes very fast. Tomorrow, today is already yesterday.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups