Page 1 of 1
HELP TO CONNECT VB EXPRESS TO SQL
#1
HELP TO CONNECT VB EXPRESS TO SQL
Posted 31 July 2006 - 01:47 AM
WHEN I ADD NEW SQL DATABASE FRON ADD NEW ITEM IN PROJECT AN ERROR COMES TIMEDOUT EXPIRED, TIMEDOUT EXPIRED PRIOR TO COMPLETION OF THE OPERATION OR THE SERVER IS NOT RESPONDING
SQL SERVER 2005 EXPRESS IS INSTALLED & IS ENABLE AUTOMATIC IS ADMINISTRATIVE TOOL SERVICES
I AM ATTACHING IN IMAGE FILE OF ERROR
SQL SERVER 2005 EXPRESS IS INSTALLED & IS ENABLE AUTOMATIC IS ADMINISTRATIVE TOOL SERVICES
I AM ATTACHING IN IMAGE FILE OF ERROR
#2
Re: HELP TO CONNECT VB EXPRESS TO SQL
Posted 31 July 2006 - 08:56 AM
Are you trying to form a connection to the database or just include it in your project?
I don't think you can include it in your project since it needs the SQL server in order to run. What you need to do is just form a connectin the database.
PS. You forgot to include error image.
I don't think you can include it in your project since it needs the SQL server in order to run. What you need to do is just form a connectin the database.
PS. You forgot to include error image.
This post has been edited by jayman9: 31 July 2006 - 08:56 AM
#3
Re: HELP TO CONNECT VB EXPRESS TO SQL
Posted 26 March 2007 - 07:01 AM
Hey,
i am trying to connect mysql database to vb 2005 express too but i have no idea on how to do this from scratch basically! does anyone have any tips on how i can do this?
i have never done this before so any websites, tutorials or even examples would be highly appreciated!
thanks!
i am trying to connect mysql database to vb 2005 express too but i have no idea on how to do this from scratch basically! does anyone have any tips on how i can do this?
i have never done this before so any websites, tutorials or even examples would be highly appreciated!
thanks!
#4
Re: HELP TO CONNECT VB EXPRESS TO SQL
Posted 26 March 2007 - 08:46 AM
check out www.connectionstrings.com. Add a SqlConnection object to your code somewhere (something like Dim MyConnection as System.Data.Sql.SqlClient.SqlConnection), then open the connection with the connection string. This allows you to use the connection that you established in DataReaders and DataAdapters. If you want more information, check out msdn2.microsoft.com and do a search for Connections and VB.
Page 1 of 1

Ask A New Question
Reply





MultiQuote




|