473,396 Members | 1,804 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

c# and MSDE

If I've got simple Access DB, and I've got a front end with a with a
datagrid and use SQL SERver 2005 Expression edition to create the
connections, develop the app then I give the DB and the front end
application to end users, do they need to have MSDE installed on there PC?
Sep 8 '06 #1
4 2237
Jason,
If I've got simple Access DB, and I've got a front end with a with a
datagrid and use SQL SERver 2005 Expression edition to create the
connections, develop the app then I give the DB and the front end
application to end users, do they need to have MSDE installed on there PC?
I didn't completely understand your question (could you rephrase it a bit?),
but if your application is connecting to a SQL database, then yes, somewhere
on the network there has to be an SQL Server instance running.

Now, if you build your application so that it expects to find the SQL Server
installed on the same machine as your application ("localhost"), then yes,
users need to install SQL Server Express on their PCs.

--
Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
ja***@removethis.dystopia.fi
http://www.saunalahti.fi/janij/
Sep 8 '06 #2
Thanks for the reply..... I'm a little confused also, which makes sense
since I'm a novice at DB's

I've got a small MS Acess database and I've got a small front end that has a
datagrid to display some of the information in the Database. I've got
VS.net 2005 and since I am a novice, I've been reading through books, that
pertain to C# 2005. All the examples I find are making a SQL connection and
use the MSDE.

Thats great if you download and install that, but if I do will my clients
also need to do that same? Can I use ADO Jet to connect to a MS Access DB.
Do you know of any examples that connect to the Northwind DB so I can use
something else as a working example rather then having to involve MSDE.

Thanks
"Jani Järvinen [MVP]" <ja***@removethis.dystopia.fiwrote in message
news:eC**************@TK2MSFTNGP06.phx.gbl...
Jason,
>If I've got simple Access DB, and I've got a front end with a with a
datagrid and use SQL SERver 2005 Expression edition to create the
connections, develop the app then I give the DB and the front end
application to end users, do they need to have MSDE installed on there
PC?

I didn't completely understand your question (could you rephrase it a
bit?), but if your application is connecting to a SQL database, then yes,
somewhere on the network there has to be an SQL Server instance running.

Now, if you build your application so that it expects to find the SQL
Server installed on the same machine as your application ("localhost"),
then yes, users need to install SQL Server Express on their PCs.

--
Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
ja***@removethis.dystopia.fi
http://www.saunalahti.fi/janij/


Sep 8 '06 #3
Jason,
I've got VS.net 2005 and since I am a novice, I've
been reading through books, that pertain to C# 2005.
All the examples I find are making a SQL connection and use the MSDE.
Yes, many code examples available use SQL Server as the example database,
because in many applications don't find Access to be a robust enough
database. But the other side of the coin is that at least Microsoft is a
company doing business for money. There's obviously more money to be made
with SQL Server than Access.

One way or other, I agree that there could be more basic Access material
available. But even so, there's a lot of material available, trust me!
Thats great if you download and install that, but if I do will my clients
also need to do that same?
The short answer is, yes, they would. If you write your C# application to
use SQL Server, then one has to be available. For simple solutions/single
user databases, Access is usually just fine.
Can I use ADO Jet to connect to a MS Access DB.
Yes, you definitely can. You would just have to use the OLEDB provider, and
a different connection string. That's basically all you need, although this
isn't just so simple in practice. See this page for example, or your Visual
Studio documentation under Data Access:

http://msdn.microsoft.com/library/en...onetanchor.asp

Or:

http://samples.gotdotnet.com/quickstart/winforms/
Do you know of any examples that connect to the Northwind DB so I can use
something else as a working example rather then having to involve MSDE.
I think there's an Access version of the Northwind database available, but
then again I haven't been using Access much. In any case, here one tutorial
for you:

http://msdn.microsoft.com/library/de...dotutorial.asp

And another:

http://www.csharphelp.com/archives/archive70.html

Try googling with "C# data access oledb" and you should find plenty more
tips. Make also sure you read through your Visual Studio documentation,
there's a lot to learn!

Good luck!

--
Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
ja***@removethis.dystopia.fi
http://www.saunalahti.fi/janij/
Sep 8 '06 #4
"Jason" <so*****@microsoft.comwrote in message
news:u0*************@TK2MSFTNGP05.phx.gbl...
If I've got simple Access DB, and I've got a front end with a with a
datagrid and use SQL SERver 2005 Expression edition to create the
connections, develop the app then I give the DB and the front end
application to end users, do they need to have MSDE installed on there PC?
First, MSDE is SQL Server 2000 and is obsolete and will NOT be supported on
Vista.

If you have SQL Server 2005 Express Edition, why are you using Access? Is
the data in a SQL 2005 database? If Access has a future, it will be as a
front-end to SQL Server databases, JET is dead (IMHO).

If you're using SQL Server 2005 Express Edition and you expect the data to
be on the PC where your app is installed then yes, you need to install SQL
Server 2005 Express Edition on that PC. Microsoft makes it very easy to
install SQL Server 2005 Express Edition as part of your setup, look up
"bootstrapping" or "ClickOnce" in the documentation.

You might also want to look in to SQL Server 2005 Everywhere Edition which
is even easier to deploy.
Sep 9 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: izzy | last post by:
I was wondering if any of you guys can kindly help me in finding all the different versions of MSDE 2000 that came out since it's first release. I expected to find something similar like Sun's...
5
by: Igor Solodovnikov | last post by:
Hi. I am trying to automatically backup transaction log when error 9002 happened. So i have created appropriate job and alert to catch this error. I have two instances of sql server under Windows...
10
by: noname | last post by:
MSDE 2000 Release A installed under windows 2000 pro will not communicate with SQL Server Manager nor MS Access on peer computer. Can someone help? Have set DISABLENETWORKPROTOCOLS=0 at install...
3
by: *no spam* | last post by:
I want to move my Access 2K database into MSDE. The Access Upsizing Wizard crashes (a known bug wi A2K), so I'm using the following suggested method: Access --> New --> Project (Existing...
5
by: Robin Tucker | last post by:
I'm looking for a simple way of telling (inside a stored procedure) if I'm currently using MSDE or a full SQL server. Ideally, there is some pre-defined environment variable that won't cause me...
7
by: Diogo Alves - Software Developer | last post by:
hi there I am developing a software that needs a database to be shared, I've heard about MSDE, can someone tell me if * There is a newer version than MSDE 2000? * It's possible to use MSDE...
2
by: Rosy Moss | last post by:
I am in the process of cleaning up a database that our company uses to track jobs, time and expense, and customer information. We are running Windows 2000 Server with approximately 20 terminals...
3
by: Paul Aspinall | last post by:
Hi I want to package my C# winforms app, to be deployed with MSDE, as easily as possible for the end user. I want to create an MSI or Installshield (prefer MSI), to setup my C# app, together...
4
by: Anthony P. Mancini | last post by:
Does anyone know how to make the MSDE do SQL authentication ? It appears to authenticate using Windows at all times. Thanks, Anthony
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.