Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > ADO.NET
|
ADO.NET For discussion about ADO.NET.  Topics such as question regarding the System.Data namespace are appropriate.  Questions specific to a particular application should be posted in a forum specific to the application .
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ADO.NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 9th, 2004, 07:58 AM
Registered User
 
Join Date: Oct 2003
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default MsAccess vs SqlServer

Hi,
I am planning to convert my desktop Windows/VB6.0/ADO2.6 application to .NET. My current application is installed on each user's PC and the application works with database files that can either sit locally or anywhere in the Network.
I get the impression that SqlServer is THE DBEngine to use with ADO.NET. But isn't this primarily a costly Server/Corporate database engine? I need a database engine that can reside on the desktop/laptop and access files anywhere (by specifying the path in a File Open dialog). Some sort of SqlServer seems to ship with the .NET framework, can I assume that all my customers will have a SqlServer engine on their machine, or can I include such an engine in the deployment of my application so that I can use SqlServer...
OR... do I just have to resign to continue to use MsAccess ?

Does anybody have any experience with ADO.NET & databases in stand-alone desktop Windows applications ?

Thanks,
Annie Lyon
 
Old January 9th, 2004, 01:38 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Only a scenario like Access would provide you with some kind of a "file open..." capability to your application although you could provide a "please enter the server name you'd like to access" prompt for a MS-SQL scenario. If you need to have a database residing locally, then you probably should stick with access. Keep in mind, however, not to confuse "DB engine" with the actual database data source. Is your database (i.e. *.mdb file) going to live centrally and be accessed by the desktop clients or do you actually need to have the database file itself reside on multiple machines? You can access Access with the right db drivers (Jet) without actually having the Access application on the machine (I'm pretty sure, someone correct me if I'm wrong).

The .net Framework does not ship with any kind of database system. It ships with the [u]capability</u> to connect to several DB systems using native SqlClient, OleDb and Odbc namespace classes.

Using MS-SQL server with the native ADO.net classes is much faster than the old ADO objects but of course it will require you to have a SQL server.

Peter
------------------------------------------------------
Work smarter, not harder.
 
Old January 9th, 2004, 03:25 PM
Registered User
 
Join Date: Jun 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to dmadam
Default

Whether a client machine has Access or not, you can communicate with an Access DB if the client has the correct drivers.

There is a mid-range option between Access & SQL Server. It is MSDE. It has limitations (liscensing, active connections, sizing constraints, etc.) when compared against full SQL Server. However, you can use the SQLClient namespace classes to interface with it like SQL Server. It is worth your time to check it out if you are looking for a relational database engine more robust than Access, but you do not need all of the "bells & whistles" of a full SQL Server database.

David Adams





Similar Threads
Thread Thread Starter Forum Replies Last Post
SQLserver 2000 vs SQLserver 2005 Express cJeffreywang BOOK: Beginning ASP.NET 2.0 and Databases 0 April 22nd, 2007 09:52 AM
Connecting to MSAccess swatishah ADO.NET 3 January 19th, 2006 12:08 AM
ASP and MSAccess error fogofogo Classic ASP Basics 2 November 28th, 2005 12:00 PM
How do I rename MSAccess tables in C#? veggiemanuk ADO.NET 3 October 22nd, 2005 09:03 AM
MSAccess Limitations if any happygv Access 5 April 19th, 2004 08:45 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.