Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / July 2006

Tip: Looking for answers? Try searching our database.

connecting to database

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Andy G - 03 Jul 2006 15:38 GMT
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
Dan Manges - 03 Jul 2006 16:19 GMT
> 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
Andy G - 03 Jul 2006 20:56 GMT
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?

>> 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
[quoted text clipped - 13 lines]
>
> Dan Manges
Rob Oldfield - 04 Jul 2006 00:05 GMT
Correct.

> 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
[quoted text clipped - 17 lines]
> >
> > Dan Manges

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.