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. C# windows application with embedded database - without installing any database engine to client's Machine

C# windows application with embedded database - without installing any database engine to client's Machine

Scheduled Pinned Locked Moved C#
csharpdatabasesqlitehardwarehelp
9 Posts 5 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.
  • N Offline
    N Offline
    Nermeenez
    wrote on last edited by
    #1

    Hi All , I am distributing a stand-alone desktop Windows application with embedded database, I want to connect to a database from the client machine without having to install any database engine not even SQL Express on the client's Machine. I read some articles that this is possible as the .Net 2005 has this new feature , but I am not sure ow to do it. Can you please help ? Thanks a lot, Nermeen

    G _ 2 Replies Last reply
    0
    • N Nermeenez

      Hi All , I am distributing a stand-alone desktop Windows application with embedded database, I want to connect to a database from the client machine without having to install any database engine not even SQL Express on the client's Machine. I read some articles that this is possible as the .Net 2005 has this new feature , but I am not sure ow to do it. Can you please help ? Thanks a lot, Nermeen

      G Offline
      G Offline
      Giorgi Dalakishvili
      wrote on last edited by
      #2

      If you install database engine on server computer, you can connect to it from client machine without installing database on the client side.

      #region signature my articles #endregion

      N 1 Reply Last reply
      0
      • G Giorgi Dalakishvili

        If you install database engine on server computer, you can connect to it from client machine without installing database on the client side.

        #region signature my articles #endregion

        N Offline
        N Offline
        Nermeenez
        wrote on last edited by
        #3

        yeah , that's true and I will connect to the Database on the server with webservice , but as u know that will take some time on the client side so what I was thinking of having a temp database on each client side to connect to get and save data from clients and then update the database on the server side just to save time and optimize the client application . Hope u can help me Thanks a lot Nermeen

        G 1 Reply Last reply
        0
        • N Nermeenez

          yeah , that's true and I will connect to the Database on the server with webservice , but as u know that will take some time on the client side so what I was thinking of having a temp database on each client side to connect to get and save data from clients and then update the database on the server side just to save time and optimize the client application . Hope u can help me Thanks a lot Nermeen

          G Offline
          G Offline
          Giorgi Dalakishvili
          wrote on last edited by
          #4

          You can use Sql server compact edition, which uses just a single file and several dlls to run, to store data and later synchronize it with main database but compact addition has some limitations.

          #region signature my articles #endregion

          N 1 Reply Last reply
          0
          • G Giorgi Dalakishvili

            You can use Sql server compact edition, which uses just a single file and several dlls to run, to store data and later synchronize it with main database but compact addition has some limitations.

            #region signature my articles #endregion

            N Offline
            N Offline
            Nermeenez
            wrote on last edited by
            #5

            Yeah , I guess that what I need but I don't know how , can u send anything to help even article to read or something Thanks

            D G 2 Replies Last reply
            0
            • N Nermeenez

              Yeah , I guess that what I need but I don't know how , can u send anything to help even article to read or something Thanks

              D Offline
              D Offline
              DaveyM69
              wrote on last edited by
              #6

              MSDN[^]

              J 1 Reply Last reply
              0
              • N Nermeenez

                Yeah , I guess that what I need but I don't know how , can u send anything to help even article to read or something Thanks

                G Offline
                G Offline
                Giorgi Dalakishvili
                wrote on last edited by
                #7

                Google[^] You can also store data in xml files for later synchronization and there is Microsoft Sync Framework[^] which you can use for your task. Hope it helps :)

                #region signature my articles #endregion

                1 Reply Last reply
                0
                • N Nermeenez

                  Hi All , I am distributing a stand-alone desktop Windows application with embedded database, I want to connect to a database from the client machine without having to install any database engine not even SQL Express on the client's Machine. I read some articles that this is possible as the .Net 2005 has this new feature , but I am not sure ow to do it. Can you please help ? Thanks a lot, Nermeen

                  _ Offline
                  _ Offline
                  _Fandango_
                  wrote on last edited by
                  #8

                  What about sqlite ? http://www.sqlite.org/quickstart.html Check it out, it r0x :)

                  1 Reply Last reply
                  0
                  • D DaveyM69

                    MSDN[^]

                    J Offline
                    J Offline
                    Joachim Kerschbaumer
                    wrote on last edited by
                    #9

                    Amen! :-D

                    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