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. can tell me how i write code for windows authentification in c#.net to connect the remote computer and getting the database back up from sql server 2000.

can tell me how i write code for windows authentification in c#.net to connect the remote computer and getting the database back up from sql server 2000.

Scheduled Pinned Locked Moved C#
csharpdatabasesql-serversysadminquestion
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.
  • H Offline
    H Offline
    haneef1
    wrote on last edited by
    #1

    hi, can tell me how can i write code for windows authentification in c#.net 1.1 to connect the remote computer and getting the database back up from sql server 2000.

    this is haneef

    S 1 Reply Last reply
    0
    • H haneef1

      hi, can tell me how can i write code for windows authentification in c#.net 1.1 to connect the remote computer and getting the database back up from sql server 2000.

      this is haneef

      S Offline
      S Offline
      Saira Tanwir
      wrote on last edited by
      #2

      heres the connection string i use for creating SQl Server connection ConnectionString="uid='sa'; pwd='sasa';" +"Initial Catalog=;" +"Data Source=.;"; if u want it with windows authentication onlythen use this ConnectionString="Integrated Security=SSPI;" +"Initial Catalog=;" +"Data Source=.;"; where Initial Catalog is the name of the Databaseu want to connect to and DataSource is the name of the server u want to connect to. if u are working in a standalone environment having ur own PC as the server then use "." for data source. hope this helps Saira

      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