none
Problem in connecting to the database on lan workgroup RRS feed

  • Question

  • hi

    i have roblem in connecting to the database on lan  workgroup

    the conn is not be

    my code hi Module

     

    Public IP As String = Form1.TextBoxX3.Text.Trim
        Public constring3 As String = "server=" & IP & "\SQLEXPRESS;Database=my db;User ID=moro;Password=555555;Trusted_Connection=False;"

     

    I am waiting for solution


     

     

    Monday, May 30, 2011 8:08 PM

Answers

  • Connect to the database using Visual Studio (Solution Explorer) and once your connection works select the connection node in Solution Explorer - you'll see the connection string in Properties window. You can use that.

    Besides you didn't tell us what's the error you are getting.


    Miha Markic [MVP C#] http://blog.rthand.com
    Tuesday, May 31, 2011 6:06 AM

All replies

  • Connect to the database using Visual Studio (Solution Explorer) and once your connection works select the connection node in Solution Explorer - you'll see the connection string in Properties window. You can use that.

    Besides you didn't tell us what's the error you are getting.


    Miha Markic [MVP C#] http://blog.rthand.com
    Tuesday, May 31, 2011 6:06 AM
  • nothing

    ؟؟

    Tuesday, May 31, 2011 1:31 PM
  • thanxxxxxxxx all

    Friday, June 3, 2011 8:27 PM