Results 1 to 2 of 2

Thread: How to Connect

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2001
    Posts
    9

    How to Connect

    Hi
    Can anyonw write to me how to connect to an SQL server databast via ADO.net

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    VB Code:
    1. Public Connector As New SqlConnection()
    2. Connector.ConnectionString = "Password=*****;User ID=sa;Initial Catalog=MHC;Data Source=MHC_PDC"
    3. Connector.Open()

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width