By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,075 Members | 989 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,075 IT Pros & Developers. It's quick & easy.

File Handling, XML

P: n/a
Dear All VB.NET programmers,

Does anyone of you have a good article reference to learn file handling (text, binary, etc) and XML (creating, reading, etc) in VB.NET.

I heard that XML file may act like database and it can be created using one of ADO.NET component. Is it true ?

Thx Alot ...

MARTIN
-NEWBIE IN VB.NET-
Nov 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
The DataSet class is one an example of how you can persist your Data. Check out the ReadXML and WriteXML member functions of the DataSet Class.

HTH

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .

Time flies when you don't know what you're doing

"Martin" <ma***************@jusufind.com> wrote in message news:u3**************@tk2msftngp13.phx.gbl...
Dear All VB.NET programmers,

Does anyone of you have a good article reference to learn file handling (text, binary, etc) and XML (creating, reading, etc) in VB.NET.

I heard that XML file may act like database and it can be created using one of ADO.NET component. Is it true ?

Thx Alot ...

MARTIN
-NEWBIE IN VB.NET-
Nov 20 '05 #2

P: n/a
Hi Martin,

i currently dont know any articels but

i have used this cool thing - using XML as a DataStore.

Just to get started this is what you have to do.

Right Click the project and Add New Item. Select DataSet name it and Add it in your project.

You will be given this DataSet1.xsd design view.

Here you can add an element which will act as a table.

You can now use this dataset as any normal dataset.

To really see the XML part, you can try WriteXML and ReadXML methods along with WriteXMlSchema and ReadXMLSchema methods on the dataset.

Infact I think you can even use any 'Database Connected dataSet' to read/write XML data and the Schema to/from file.

I encourage you to look into the xsd in the design view and xml view and the accompanying xml files to see what actually happens.

Hope it helps,

Thank You,
rawCoder
"Martin" <ma***************@jusufind.com> wrote in message news:u3**************@tk2msftngp13.phx.gbl...
Dear All VB.NET programmers,

Does anyone of you have a good article reference to learn file handling (text, binary, etc) and XML (creating, reading, etc) in VB.NET.

I heard that XML file may act like database and it can be created using one of ADO.NET component. Is it true ?

Thx Alot ...

MARTIN
-NEWBIE IN VB.NET-
Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.