Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Programatically Create a Stored Procedure...?
Message
De
17/05/2006 10:03:52
 
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Versions des environnements
Environment:
VB.NET 1.1
Divers
Thread ID:
01122634
Message ID:
01122689
Vues:
19
Glad that we could *all* help. =)

~~Bonnie


>>Ben,
>>
>>As Borislav said, you need to specify the database in the connection string. Here it is in .NET syntax:
>>
>>
>>"server=(local);database=MyDataBase;uid=sa;pwd=MyPassword"
>>
>>
>>~~Bonnie
>
>I see what you mean Bonnie, I misunderstood what Borislav meant. I didn't have the Initial Catalog set because I was doing a "Create Database" command where if I had the Catalog in the Connection String, it would crash. But apparently I forgot to remodify the connection string after the Create Database command to include the Database name.
>
>Thanks for your help!!!
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform