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. prblm connecting to database

prblm connecting to database

Scheduled Pinned Locked Moved C#
helpdatabasecom
4 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.
  • O Offline
    O Offline
    Osama123
    wrote on last edited by
    #1

    connstr = "data source =tm8425\gaurav ;initial catalog=gmcrm;user id=sa;password=maggy;"; sqlConnection conn = new SqlConnection(connstr); error: unrecognised escape sequence. in tm8425\gaurav Plz help Thanks and Regards, Ahmad ahmad.osama1984@gmail.com

    C J 2 Replies Last reply
    0
    • O Osama123

      connstr = "data source =tm8425\gaurav ;initial catalog=gmcrm;user id=sa;password=maggy;"; sqlConnection conn = new SqlConnection(connstr); error: unrecognised escape sequence. in tm8425\gaurav Plz help Thanks and Regards, Ahmad ahmad.osama1984@gmail.com

      C Offline
      C Offline
      chravisankar
      wrote on last edited by
      #2

      try using tm8425\\gaurav

      "Change is the only constant thing in life Either or survive or get extinct"

      1 Reply Last reply
      0
      • O Osama123

        connstr = "data source =tm8425\gaurav ;initial catalog=gmcrm;user id=sa;password=maggy;"; sqlConnection conn = new SqlConnection(connstr); error: unrecognised escape sequence. in tm8425\gaurav Plz help Thanks and Regards, Ahmad ahmad.osama1984@gmail.com

        J Offline
        J Offline
        jdkulkarni
        wrote on last edited by
        #3

        Can do like connstr = @"data source =tm8425\gaurav ;initial catalog=gmcrm;user id=sa;password=maggy;"; :)

        Jayant D. Kulkarni Brainbench Certified Software Engineer in C#, ASP.NET, .NET Framework and ADO.NET

        C 1 Reply Last reply
        0
        • J jdkulkarni

          Can do like connstr = @"data source =tm8425\gaurav ;initial catalog=gmcrm;user id=sa;password=maggy;"; :)

          Jayant D. Kulkarni Brainbench Certified Software Engineer in C#, ASP.NET, .NET Framework and ADO.NET

          C Offline
          C Offline
          chravisankar
          wrote on last edited by
          #4

          yep!

          "Change is the only constant thing in life Either or survive or get extinct"

          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