VB School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

HELP TO CONNECT VB EXPRESS TO SQL Rate Topic: -----

#1 POOJA_76  Icon User is offline

  • New D.I.C Head
  • Pip

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 31-July 06


Dream Kudos: 0

Share |

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
Was This Post Helpful? 0
  • +
  • -


#2 Jayman  Icon User is offline

  • Student of Life
  • Icon

Reputation: 345
  • View blog
  • Posts: 9,235
  • Joined: 26-December 05


Dream Kudos: 500

Expert In: Everything

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.

This post has been edited by jayman9: 31 July 2006 - 08:56 AM

Was This Post Helpful? 0
  • +
  • -

#3 rp2007  Icon User is offline

  • New D.I.C Head
  • Pip

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 26-March 07


Dream Kudos: 0

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!
Was This Post Helpful? 0
  • +
  • -

#4 tody4me  Icon User is offline

  • Banned
  • Icon

Reputation: 11
  • View blog
  • Posts: 1,398
  • Joined: 12-April 06


Dream Kudos: 100

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.
Was This Post Helpful? 0
  • +
  • -



Fast Reply

  

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users