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. Web Development
  3. ASP.NET
  4. Restore database via XML

Restore database via XML

Scheduled Pinned Locked Moved ASP.NET
databasexml
8 Posts 4 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.
  • R Offline
    R Offline
    RajaAhmed
    wrote on last edited by
    #1

    hi everybody, i want to restore database tables data stored in ("c:\backup.xml") file created WriteXml() method. Is it usefull idea or........ Dim t As DataTable For Each t In myds.Tables t.BeginLoadData() Next myds.ReadXml("c:\backup.xml") For Each t In myds.Tables t.EndLoadData() Or anyother suggestion..

    C 1 Reply Last reply
    0
    • R RajaAhmed

      hi everybody, i want to restore database tables data stored in ("c:\backup.xml") file created WriteXml() method. Is it usefull idea or........ Dim t As DataTable For Each t In myds.Tables t.BeginLoadData() Next myds.ReadXml("c:\backup.xml") For Each t In myds.Tables t.EndLoadData() Or anyother suggestion..

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      You're asked this three times now. Have you tried any of the things you've been told ? If so, try telling us what you tried and why it doesn't work. If you're just asking blindly over and over, make that clear, so that people know not to bother answering.

      Christian Graus Driven to the arms of OSX by Vista.

      R 1 Reply Last reply
      0
      • C Christian Graus

        You're asked this three times now. Have you tried any of the things you've been told ? If so, try telling us what you tried and why it doesn't work. If you're just asking blindly over and over, make that clear, so that people know not to bother answering.

        Christian Graus Driven to the arms of OSX by Vista.

        R Offline
        R Offline
        RajaAhmed
        wrote on last edited by
        #3

        I have done this. but there z no error. and the database z also not restored.... Can U Give Me Some Suggestion

        S C N 3 Replies Last reply
        0
        • R RajaAhmed

          I have done this. but there z no error. and the database z also not restored.... Can U Give Me Some Suggestion

          S Offline
          S Offline
          SeMartens
          wrote on last edited by
          #4

          So what are the errors?

          It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.

          S 1 Reply Last reply
          0
          • R RajaAhmed

            I have done this. but there z no error. and the database z also not restored.... Can U Give Me Some Suggestion

            C Offline
            C Offline
            Christian Graus
            wrote on last edited by
            #5

            So, learn to use the debugger, step through and work out what's going on. and where you code fails. Then tell us what's going on.

            Christian Graus Driven to the arms of OSX by Vista.

            1 Reply Last reply
            0
            • S SeMartens

              So what are the errors?

              It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.

              S Offline
              S Offline
              SeMartens
              wrote on last edited by
              #6

              Oh I remember... you asked this yesterday, did you? When I see your code did you pay attention to the merging issue I talked about? Maybe that is what is going wrong? http://www.codeproject.com/script/Forums/View.aspx?fid=12076&select=2907094&fr=131#xx2907094xx[^]

              It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.

              R 1 Reply Last reply
              0
              • R RajaAhmed

                I have done this. but there z no error. and the database z also not restored.... Can U Give Me Some Suggestion

                N Offline
                N Offline
                N a v a n e e t h
                wrote on last edited by
                #7

                AhmedNisar82 wrote:

                Can U Give Me Some Suggestion

                Stop trying. Get a book, learn and try. :)

                Navaneeth How to use google | Ask smart questions

                1 Reply Last reply
                0
                • S SeMartens

                  Oh I remember... you asked this yesterday, did you? When I see your code did you pay attention to the merging issue I talked about? Maybe that is what is going wrong? http://www.codeproject.com/script/Forums/View.aspx?fid=12076&select=2907094&fr=131#xx2907094xx[^]

                  It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.

                  R Offline
                  R Offline
                  RajaAhmed
                  wrote on last edited by
                  #8

                  SeMartens thanx... :)

                  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