C# Express and SQL 2000

  • Thread starter Thread starter Nobody
  • Start date Start date
N

Nobody

Is it possible to connect to a SQL 2000 database? I can only seem to get C#
Express
to want to connect to a SQL Express database. Am I missing something?

Thanks
 
Nobody,

You should be able to connect to a SQL Server database. I don't have
SQL Express installed, but you should be able to default the instance name
(which is .\SQLExpress) to the name of a server on your network, and connect
normally.

Do you find you can't do this?
 
I'm unable to change the .\SQLExpress to anything else. It does give me a
drop
down to try and select something, but nothing is there. I'm unable to type
in
anything over this default setting.
 
Hmm, then no, you won't be able to use the designer to help you.

That doesn't mean that you can't connect to SQL Server 2000 through the
classes in the System.Data.SqlClient namespace, just that you don't have
designer support.
 
Nobody said:
Is it possible to connect to a SQL 2000 database? I can only seem to get
C# Express
to want to connect to a SQL Express database. Am I missing something?

Thanks

You can't access non local database instances from VS Express products, you
can access external instances from your code.

Willy.
 
Back
Top