473,402 Members | 2,061 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,402 software developers and data experts.

C# XML storage

Hi,
I was wondering if someone has ever tried storing data in XML files and then reading back from them, just like as if someone would do from an Acess database. If yes, are there any advantages disadvantages or speed issues with that methodology.
I am wondering if it would be a better option to store data into XML files, and then use it in the application, for quering and displaying info, since the schema info can also be incorporated with XML.

With Regards
Sunny
Nov 15 '05 #1
2 6174
Sunny,
I have worked with XML several times with .NET.But there are some
limitations if the size of the XML file is too big.
It depends on the nature and scope of your application. With .NET,working
with XML is very fast.XMLTextReader and XMLTextWriter dealing with XML is so
easy and fast. The System.Xml namespace provides standards-based support
for processing XML.
here is the link :

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

I love DataSet.ReadXml .. Here is the link..

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

Regards,
Marshal Antony
http://dotnetmarshal.com


"Sunny" <gh**********@yahoo.com> wrote in message
news:BA**********************************@microsof t.com...
Hi,
I was wondering if someone has ever tried storing data in XML files and then reading back from them, just like as if someone would do from an Acess
database. If yes, are there any advantages disadvantages or speed issues
with that methodology. I am wondering if it would be a better option to store data into XML files, and then use it in the application, for quering and displaying info,
since the schema info can also be incorporated with XML.
With Regards
Sunny

Nov 15 '05 #2
In addition to what Marshal said, I would argue that if you have a great
amount of data to store and process, then I would use a database technology,
and not XML. You can always convert your data to an XML format later, if
you need to interact with other APIs that require XML.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Marshal Antony" <ma***********@yahoo.com> wrote in message
news:uS**************@TK2MSFTNGP10.phx.gbl...
Sunny,
I have worked with XML several times with .NET.But there are some
limitations if the size of the XML file is too big.
It depends on the nature and scope of your application. With ..NET,working with XML is very fast.XMLTextReader and XMLTextWriter dealing with XML is so easy and fast. The System.Xml namespace provides standards-based support
for processing XML.
here is the link :

http://msdn.microsoft.com/library/de...ClassTopic.asp
I love DataSet.ReadXml .. Here is the link..

http://msdn.microsoft.com/library/de...dxmltopic2.asp
Regards,
Marshal Antony
http://dotnetmarshal.com


"Sunny" <gh**********@yahoo.com> wrote in message
news:BA**********************************@microsof t.com...
> Hi,
> I was wondering if someone has ever tried storing data in XML files
and then reading back from them, just like as if someone would do from an Acess database. If yes, are there any advantages disadvantages or speed issues
with that methodology.
> I am wondering if it would be a better option to store data into XML files, and then use it in the application, for quering and displaying

info, since the schema info can also be incorporated with XML.
>
> With Regards
> Sunny


Nov 15 '05 #3

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

Similar topics

1
by: Jens H. Hamann | last post by:
Hi, I am having a strange problem with the storage parameters in Oracle 9.2.0.1 database. I create a tablespace with some default storage parameters but when i am adding a table to the tablespace...
7
by: smith4894 | last post by:
Hello, I have a question regarding storage locations for different data types. For example, dynamically created objects (using "new") are created on the heap. local objects ( foo() {int x;} )...
9
by: CptDondo | last post by:
I am working on an embedded platform which has a block of battery-backed RAM. I need to store various types of data in this block of memory - for example, bitmapped data for control registers,...
0
by: Namratha Shah \(Nasha\) | last post by:
Hey Group, After a long week end I am back again. Its nice and refreshing after a short vacation so lets get started with .NET once again. Today we will discuss about Isolated Storage. This is...
7
by: StupidScript | last post by:
>From the manual "Storage Requirements": "ENUM('value1','value2',...) =1 or 2 bytes, depending on the number of enumeration values (65,535 values maximum)" This seems to mean: "a" = 1 byte...
14
by: Richard Harter | last post by:
Apologies for the length - this post is best viewed with fixed font and a line width >= 72. Below is the source code for a C header file that provides a suite of storage management macros. I am...
0
by: zhensoftware | last post by:
USB storage devices have gained popularity. It can be host to viruses, Trojans, hacker toolkits, worms or other forms of malicious programs. For example, when you plug your USB disk into a computer...
4
by: =?Utf-8?B?SnVhbiBEZW50?= | last post by:
Hi, I am getting the following in a VC++ EXE (using VS2005) that links several C++ DLLs and uses MFC and ATL, when I try to start it under the debugger: ------- 'Exactus.UX.Studio.v1.exe':...
6
by: cristizaharioiu | last post by:
Hello, I am beginner with db2 ( DB2 v9.1.0.1 running on RHEL 4); this is my first post. I have this error " SQL0968C The file system is full. SQLSTATE=57011"" in my instance configured with...
3
by: myjish18 | last post by:
Hello, We have a DB2 UDB database v8.2.7 (db2 v8.2 fixpak 14) on AIX 5.3 which has Automatic Storage (AS) enabled. We want to disable automatic storage on entire database and/or disable...
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: 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?
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
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
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.