Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Connection String Problem
Message
General information
Forum:
ASP.NET
Category:
Databases
Title:
Connection String Problem
Environment versions
Environment:
C# 1.1
OS:
Windows XP SP2
Database:
MS SQL Server
Miscellaneous
Thread ID:
00983149
Message ID:
00983149
Views:
58
Greetings,
I am unable to connect to my SQl Database with this connection string (see below) from within a C# program. Same parameters work fine in SQL Query Analyzer when connecting.

This is the code:

public class DataAccessSql : DataAccessBase
{
public DataAccessSql()
this.ConnectionString= "server=myserver;uid=sa;pwd=mypass;database=Northwind;";

Many thanks, Todd
The day you take complete responsibly for yourself, the day you stop making any excuses, thats the day you start to the top. - O.J. Simpson

Great advice from a questionable source...
Next
Reply
Map
View

Click here to load this message in the networking platform