|
-
Oct 29th, 2010, 05:14 PM
#1
Thread Starter
Frenzied Member
Connect to SQL Server with VB .NET Express
I try to use my data source and setup a new connection, but i see it wont let me.
Is this another features they left out of 2010 express edtions?
I just want to setup a connection to sql server with vb.net express 2010
-
Oct 29th, 2010, 05:26 PM
#2
Re: Connect to SQL Server with VB .NET Express
you really should provide more details. what is the error you get ?
* Rate It  If you Like it
__________________________________________________________________________________________
" Programming is like sex: one mistake and you’re providing support for a lifetime."
Get last SQL insert ID 
-
Oct 29th, 2010, 06:18 PM
#3
Re: Connect to SQL Server with VB .NET Express
Yes... it even tells you this when you first try to create the datasource - VBExpress can/will only connect to local databases (like Access) or local SQL Express instances.
You can still use SQL Server but you just can't connect to it using the datasource tool. There's two ways to work around this: 1) Create a local version of the database on your machine.... then you can use that for development, just be sure to change the connectionstring in the config file when you deploy. 2) Skip the datasource explorer all together and code the connections and averything else yourself directly.
-tg
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|