473,385 Members | 1,824 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,385 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 3485
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: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.