Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programatically Create a Stored Procedure...?
Message
From
17/05/2006 10:03:52
 
General information
Forum:
ASP.NET
Category:
ADO.NET
Environment versions
Environment:
VB.NET 1.1
Miscellaneous
Thread ID:
01122634
Message ID:
01122689
Views:
12
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
Previous
Reply
Map
View

Click here to load this message in the networking platform