Friday, February 10, 2012

Connecting to SQL Server 2005 Express Edition from VS 2003?

Hi,

How do I connect to Sql Server 2005 express from Visual Basic. Net 2003 ?

Kumar

Hi,

normally this should be no problem, do you this programmatically or do you want to connect with the server explorer. Connecting with the server explorer should be no problem, which error are you getting ?

HTH, Jens Suessmeyer.


http://www.sqlserver2005.de

|||

Hi,

I am doing this with programmatically. Please help me on this isssue

|||


Hi,

just from notepad:

SqlConnection conn = new SqlConnection(getastringfromhttp://www.connectionstrings.com);

conn.Open();

For more detailed information, this is just the connection, northing more, see the Quickstart examples from microsoft or other sites on the internet, there should be tons of them :-)


HTH, Jens Suessmeyer.

http://www.sqlserver2005.de

No comments:

Post a Comment