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. Using SQL Application in network

Using SQL Application in network

Scheduled Pinned Locked Moved C#
sysadmincsharpdatabasesql-server
6 Posts 3 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
    Reza Shojaee
    wrote on last edited by
    #1

    Hi Developers I decide to develop an application with C# which uses SQL server express edition. My application shall works on the local network and some workstations use the SQL data simultaneously. Beforehand I developed similar application with ODBC technology. I pursue better idea, So I listen your good recommendation.

    Best Regards, Reza Shojaee

    4 K 2 Replies Last reply
    0
    • R Reza Shojaee

      Hi Developers I decide to develop an application with C# which uses SQL server express edition. My application shall works on the local network and some workstations use the SQL data simultaneously. Beforehand I developed similar application with ODBC technology. I pursue better idea, So I listen your good recommendation.

      Best Regards, Reza Shojaee

      4 Offline
      4 Offline
      4277480
      wrote on last edited by
      #2

      how about sqlconnection [^]

      R 1 Reply Last reply
      0
      • 4 4277480

        how about sqlconnection [^]

        R Offline
        R Offline
        Reza Shojaee
        wrote on last edited by
        #3

        You can use sqlconnection for local client and odbcconnection for remote client

        Best Regards, Reza Shojaee

        1 Reply Last reply
        0
        • R Reza Shojaee

          Hi Developers I decide to develop an application with C# which uses SQL server express edition. My application shall works on the local network and some workstations use the SQL data simultaneously. Beforehand I developed similar application with ODBC technology. I pursue better idea, So I listen your good recommendation.

          Best Regards, Reza Shojaee

          K Offline
          K Offline
          Keith Barrow
          wrote on last edited by
          #4

          Depends how big your project is but it is worth Looking up LINQ to Entities and NHibernate. These are both ORM frameworks that allow you have a relational database, whilst living in the object world on the C# side. After this, LINQ to SQL is a possible, lighter weight choice. Finally you could use straight ADO, but in a good implementation this alone can be cumbersome. NHibernate currently has better features, but long-term LINQ Entities might be the pony to back, as the framework is by Microsoft, and comes with .NET 3.5 as standard.

          Cpianism: I have a negative number in my Rep so please fix it. Chris Maunder: That isn't a bug.

          R 1 Reply Last reply
          0
          • K Keith Barrow

            Depends how big your project is but it is worth Looking up LINQ to Entities and NHibernate. These are both ORM frameworks that allow you have a relational database, whilst living in the object world on the C# side. After this, LINQ to SQL is a possible, lighter weight choice. Finally you could use straight ADO, but in a good implementation this alone can be cumbersome. NHibernate currently has better features, but long-term LINQ Entities might be the pony to back, as the framework is by Microsoft, and comes with .NET 3.5 as standard.

            Cpianism: I have a negative number in my Rep so please fix it. Chris Maunder: That isn't a bug.

            R Offline
            R Offline
            Reza Shojaee
            wrote on last edited by
            #5

            Hi My friend My project isn't very big, But I like new experiences. Beforehand I heard about LINQ but NHibernate is unfamiliar technology for me. My project is a windows application, these technologies only use for web or no? Do you know good example of these technologies ? :)

            Best Regards, Reza Shojaee

            K 1 Reply Last reply
            0
            • R Reza Shojaee

              Hi My friend My project isn't very big, But I like new experiences. Beforehand I heard about LINQ but NHibernate is unfamiliar technology for me. My project is a windows application, these technologies only use for web or no? Do you know good example of these technologies ? :)

              Best Regards, Reza Shojaee

              K Offline
              K Offline
              Keith Barrow
              wrote on last edited by
              #6

              Reza Shojaee wrote:

              My project is a windows application, these technologies only use for web or no

              These technologies are intended to allow .net applications (of whatever type) to communicate with the database. As long as you can connect to the database across your network, they should be fine.

              Reza Shojaee wrote:

              Do you know good example of these technologies

              I suggest either doing a search on this site (I'm sure there are some excellent articles around), or googling for them. I started using these a while back, so I haven't looked at introductory articles in a while.

              Cpianism: I have a negative number in my Rep so please fix it. Chris Maunder: That isn't a bug.

              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