index > .NET Framework Data Access and Storage > VB.NET Front end for small amount of XML data

VB.NET Front end for small amount of XML data

I am trying to create a VB.NET front end for an XML file I have access to.

XML File Example:

<Item>

<Name> name </Name>

<Description> details </Description>

<MoreInfo> more details </MoreInfo>

</Item>

The XML file its self may change but will not get updated very often and will not grow very much.

I am very familar with creating VB front-end's for MS Access Databases use OLEDB Connections and Datasets and moving through records...

Is there a way to open the XML file, bind different nodes(Name, Desc. MoreInfo) to different textbox controls and navigate through records (items) the way you can when using MS Access?

Not looking for someone to write it for me, but if you can point me in the right direction!

I found a lot of articles for loading the data into a datagrid, but that isn't helping or I am missing a point somewhere...

Thanks-

Tony




Tony Wissler
TonyWissler

The easiest way to do this is load the XML file in a DataSet and then bind to the DataSet.

Look at the DataSet.ReadXML method to load the XML file.

Then you can bind controls or datagrid to dataset.




Matt Neerincx [MSFT]
Matt Neerincx
reply 2

You can use google to search for other answers

 

More Articles

• Error when saving a "Computed" table column.
• SQLDataReader.GetOrdinal() fails rarely with IndexOutOfRange
• Save data as xml file
• Can't connect to database from web service!
• Dynamic connection strings.. possible?
• Mysql connection
• Data Access Page
• Open DataReader associated with this Command
• questions about Automatically Generating Commands (DbCommandBuild...
• Geting Total Number of Rows in a Recordset
Bookmark and Share
Welcome to Bokebb   New Update  
 

New Articles

• Default Values with a DataSet and SQL Se
• using vs.net2005 dataset
• SQLServer Backup
• Calculated Column --> Using Custom Ag
• Linked tables from ASP.NET problem: OleD
• need help inserting into a dbf file
• Problem with calculated column - does no
• Embarrassing Problem with inserting reco
• Data Access Strategy
• Concurrency violation while row exists
• DataTable Stripping time from DateTime
• Geting Total Number of Rows in a Recordset
• Please Help ME!!! Web Service about Clie
• poor oracleclient performance (System.Da
• Using DiffGram to Save and Restore Datas

Hot Articles

• TransactionScope, Transactions and MSDTC
• Concurrency violation while row exists
• Could not search SQL with DateTime compa
• Remoting large datasets and merging it a
• T-SQL SELECT STATEMENTS
• datatable column name and datatype
• DataTable - Null Object Reference Error
• Oracle Connectivity Problem
• Synchronize Replicated Access Database u
• unable to upload image to one of two ima
• Memory leak when using ODP.NET from http
• No value given for one or more required
• Table Adapter update problems in Strongl
• Typed Dataset Question #2
• ODBC or OLEDB

Recommend Articles

• Warehouse Managment System
• ADO.Net-Insert, Update, and Deleting Rec
• Dataview Sort Problem
• DataSet Merging
• Mysql connection
• Datatable: works in windowsApp, not in A
• Lightweight Transaction Manager SQL Serv
• TableAdapters BaseClass
• Populate DataSet from CSV
• delete row is not updating in dataAdapter
• Returning DataReaders
• DataSet thread safety
• Update without Parameter
• ASP.Net worker process can't accessing O
• Dinamically adding columns