C# Windows application: connection string to connect to remote sql server 2008 using windows authentication -
I am developing a windows form application using C #. I want to connect to SQL Server 2008 which is in the server using Windows authentication. Can anyone please provide me the connection string?
Note:
- The domain is created in my server.
- Remote Access is enabled for SQL Server
- The TCP / IP port is also enabled.
Please help me. I've been struggling for it since 3 days.
server = myServerAddress; Database = myDataBase; Trusted_Connection = true;
Comments
Post a Comment