connecting to database

  • Thread starter Thread starter Andy G
  • Start date Start date
A

Andy G

Is all I need the connection string to connect to a database? Or does every
machine that uses the windows form app need to have a datasource for the
database set up on their machine?

Thanks.
Andy
 
Andy said:
Is all I need the connection string to connect to a database? Or does every
machine that uses the windows form app need to have a datasource for the
database set up on their machine?

Thanks.
Andy

Andy,

You don't need to have datasources configured, however, you do need
drivers installed. Access requires MDAC, MySQL over ODBC would require
MyODBC drivers, etc. Look at http://www.connectionstrings.com for
writing various connection strings.

Hope this helps.

Dan Manges
 
So I could distribute a Windows form executable that connects to my SQL
Server 2003 to a bunch of computers and I wouldn't have to touch any of
those computers?
 
Correct.


Andy G said:
So I could distribute a Windows form executable that connects to my SQL
Server 2003 to a bunch of computers and I wouldn't have to touch any of
those computers?
 
Back
Top