Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Connection String Problem
Message
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Titre:
Connection String Problem
Versions des environnements
Environment:
C# 1.1
OS:
Windows XP SP2
Database:
MS SQL Server
Divers
Thread ID:
00983149
Message ID:
00983149
Vues:
57
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...
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform