473,396 Members | 1,884 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.

XML vs Access

I am planning to convert a VB6/ADO application to VB.NET. In the VB6 app,
the application builds an Access database and uses that as the data store.
The Access database usually has less than ten tables (all the same
structure) and each table usually has less than 50 rows. The tables have
about 25 fields each.

In the new .NET version should I use XML instead of Access for the data
store? What are the advantages/disadvantages of each?

--
------------------------------------
Wayne Wengert
wa***@wengert.org
Jul 19 '05 #1
7 3487
Wayne Wengert wrote:
I am planning to convert a VB6/ADO application to VB.NET. In the VB6
app, the application builds an Access database and uses that as the
data store. The Access database usually has less than ten tables
(all the same structure) and each table usually has less than 50
rows. The tables have about 25 fields each.

In the new .NET version should I use XML instead of Access for the
data store? What are the advantages/disadvantages of each?


You could if you want I guess, If you drop access that's allways good
as you wont have a dependancy on a rather bulky .MDB file, but you'll
loose the power of SQL statements. I really guesss it depends on what
your doing with the data, if its just simple input output, display on
screen stuff XML would be a nicer option as it'll have nice little xml
files, and so on.

Also I don't really know that much about the XML set of objects in the
framework, there might be some nifty things of searching and stuff
(similar to SQL, but obviously not SQL).

Anyone got anything to add to this?

--
Phil Price
Student at The University Of Hull
http://www.philprice.net
http://www.dcs.hull.ac.uk
Jul 19 '05 #2
Phil;

Thanks for the response. I didn't realize that you could not use SQL
statements against an XML data store!

Wayne

"Phil Price" <ph**@philprice.net> wrote in message
news:be*********@newsg4.svr.pol.co.uk...
Wayne Wengert wrote:
I am planning to convert a VB6/ADO application to VB.NET. In the VB6
app, the application builds an Access database and uses that as the
data store. The Access database usually has less than ten tables
(all the same structure) and each table usually has less than 50
rows. The tables have about 25 fields each.

In the new .NET version should I use XML instead of Access for the
data store? What are the advantages/disadvantages of each?


You could if you want I guess, If you drop access that's allways good
as you wont have a dependancy on a rather bulky .MDB file, but you'll
loose the power of SQL statements. I really guesss it depends on what
your doing with the data, if its just simple input output, display on
screen stuff XML would be a nicer option as it'll have nice little xml
files, and so on.

Also I don't really know that much about the XML set of objects in the
framework, there might be some nifty things of searching and stuff
(similar to SQL, but obviously not SQL).

Anyone got anything to add to this?

--
Phil Price
Student at The University Of Hull
http://www.philprice.net
http://www.dcs.hull.ac.uk

Jul 19 '05 #3
Wayne Wengert wrote:
Phil;

Thanks for the response. I didn't realize that you could not use SQL
statements against an XML data store!


Wayne as I said, I'm just saying what I know, I only ever serialze XML
for simpel storage methods, I'm sure there is some way (SQL or not) of
searching and querying the store, maybe you can connect it to the JET
adapater. I'm just telling you from my experiance :)

Peace
--
Phil Price
Student at The University Of Hull
http://www.philprice.net
http://www.dcs.hull.ac.uk
Jul 19 '05 #4
As a real newbie I appreciate all input. So much to learn - it seems like
there is always one more layer to peel...

Wayne

"Phil Price" <ph**@philprice.net> wrote in message
news:be**********@news8.svr.pol.co.uk...
Wayne Wengert wrote:
Phil;

Thanks for the response. I didn't realize that you could not use SQL
statements against an XML data store!


Wayne as I said, I'm just saying what I know, I only ever serialze XML
for simpel storage methods, I'm sure there is some way (SQL or not) of
searching and querying the store, maybe you can connect it to the JET
adapater. I'm just telling you from my experiance :)

Peace
--
Phil Price
Student at The University Of Hull
http://www.philprice.net
http://www.dcs.hull.ac.uk

Jul 19 '05 #5
You could probably use the XPATH query functionality in the ms XMLDOM.

"Wayne Wengert" <wa***@wengert.org> wrote in message
news:eu*************@TK2MSFTNGP12.phx.gbl...
I am planning to convert a VB6/ADO application to VB.NET. In the VB6 app,
the application builds an Access database and uses that as the data store.
The Access database usually has less than ten tables (all the same
structure) and each table usually has less than 50 rows. The tables have
about 25 fields each.

In the new .NET version should I use XML instead of Access for the data
store? What are the advantages/disadvantages of each?

--
------------------------------------
Wayne Wengert
wa***@wengert.org


Jul 19 '05 #6
You can use a DataSet instead of the access table, and serialize it to XML,
initial load time is going to be a little slower, but it doesn't seem like
you have too much data to worry about that. You'll loose stored procedures,
but you can still execute some SQL statements against the dataset. Look
into WriteXml and ReadXml on DataSet and Select on DataTable.

Just might be enough for you to skip Access.

--
Ali Sanjabi

"Phil Price" <ph**@philprice.net> wrote in message
news:be**********@news8.svr.pol.co.uk...
Wayne Wengert wrote:
Phil;

Thanks for the response. I didn't realize that you could not use SQL
statements against an XML data store!


Wayne as I said, I'm just saying what I know, I only ever serialze XML
for simpel storage methods, I'm sure there is some way (SQL or not) of
searching and querying the store, maybe you can connect it to the JET
adapater. I'm just telling you from my experiance :)

Peace
--
Phil Price
Student at The University Of Hull
http://www.philprice.net
http://www.dcs.hull.ac.uk

Jul 19 '05 #7
guy
remember with the XML approach you will be very restricted
if your app is multi user

guy
-----Original Message-----
I am planning to convert a VB6/ADO application to VB.NET. In the VB6 app,the application builds an Access database and uses that as the data store.The Access database usually has less than ten tables (all the samestructure) and each table usually has less than 50 rows. The tables haveabout 25 fields each.

In the new .NET version should I use XML instead of Access for the datastore? What are the advantages/disadvantages of each?

--
------------------------------------
Wayne Wengert
wa***@wengert.org
.

Jul 19 '05 #8

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

Similar topics

63
by: Jerome | last post by:
Hi, I'm a bit confused ... when would I rather write an database application using MS Access and Visual Basic and when (and why) would I rather write it using Visual Studio .Net? Is it as easy...
13
by: bill | last post by:
I am trying to convince a client that dotNet is preferable to an Access project (ADP/ADE). This client currently has a large, pure Access MDB solution with 30+ users, which needs to be upgraded....
1
by: Dave | last post by:
Hello NG, Regarding access-declarations and member using-declarations as used to change the access level of an inherited base member... Two things need to be considered when determining an...
13
by: Simon Bailey | last post by:
I am a newcomer to databases and am not sure which DBMS to use. I have a very simplified knowledge of databases overall. I would very much appreciate a (simplifed) message explaining the advantages...
0
by: Frederick Noronha \(FN\) | last post by:
---------- Forwarded message ---------- Solutions to Everyday User Interface and Programming Problems O'Reilly Releases "Access Cookbook, Second Edition" Sebastopol, CA--Neither reference book...
20
by: Olav.NET | last post by:
I am a .NET/C++ developer who is supposed to do some work with Access. I do not know much about it except for the DB part. Questions: *1* I am looking for INTENSIVE books to get quickly up to...
64
by: John | last post by:
Hi What future does access have after the release of vs 2005/sql 2005? MS doesn't seem to have done anything major with access lately and presumably hoping that everyone migrates to vs/sql. ...
1
by: com | last post by:
Extreme Web Reports 2005 - Soft30.com The wizard scans the specified MS Access database and records information such as report names, parameters and subqueries. ......
17
by: Mell via AccessMonster.com | last post by:
Is there a way to find out where an application was created from? i.e. - work or home i.e. - if application sits on a (work) server/network, the IT people know the application is sitting...
37
by: jasmith | last post by:
How will Access fair in a year? Two years? .... The new version of Access seems to service non programmers as a wizard interface to quickly create databases via a fancy wizard. Furthermore, why...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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.