473,385 Members | 1,337 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.

quering dataset with xml data

Hi

I have below file

<?xml version = "1.0" encoding = "UTF-8"?>
<Names>
<name >
<slno>1</slno>
<refno>12345</refno>
<name>Briggs</name>
<initals>br</initals>
<bagcolor>RD22</bagcolor>
<tno>AC842651</tno>
<routing>
<routinginfo>Chennai</routinginfo>
<routinginfo>Banglore</routinginfo>
<routinginfo>Culcutta</routinginfo>
</routing>
</name>

<name >
<slno>2</slno>
<refno>67894</refno>
<name>MANDAP</name>
<initals>th</initals>
<bagcolor>RD25</bagcol>
<tno>EK445945</tno>
<routing >
<routinginfo>EK804/22APR</routinginfo>
<routinginfo>EK334/23APR</routinginfo>
</routing>
</name>
</Names>


when i read this file into a dataset using ReadXml() method. 4 Table are created .

I'm not able to retrive the routinginfo data based on the slno. In the dataset routing is a seperate table and routinginfo is a seperate table.


pls help me if anybody knows. Awaiting your reply
Thanks
jainath
May 16 '07 #1
0 765

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: jelle | last post by:
Hi, Has anyone so far been messing accessing / quering the google desktop database files? It seems it could be the best reflection of one in a couple of hundred mb, and i intent to unleash some...
5
by: Grant | last post by:
Hello, How come when I add a new row to my dataset table it shows up as changed (agencyData.Haschanges() = True) but when I delete a row the dataset thinks here are no...
15
by: JIM.H. | last post by:
Hello, Can I send a dataset as a parameter into stored procedure and import data to a table in the stored procedure? Thanks, Jim.
22
by: Arne | last post by:
How do I pass a dataset to a webservices? I need to submit a shoppingcart from a pocket PC to a webservice. What is the right datatype? II have tried dataset as a datatype, but I can't get it to...
4
by: Al | last post by:
I have this scenario: 1. XML file with schema and data is created from SQL Server tables. XML file contains 6 tables, some of them have rows, some of them are empty. 2. XML file is given to the...
4
by: Justin | last post by:
I'm just learning ASP.NET 2.0 and everything I find on Datasets including the MSPress book I bought go way to far for what I need. I do not need to bind a datasource. My source will be a text...
1
by: matt | last post by:
hello, i have a web app that allows users to query our oracle db and produce a dataset of report data. they then have the option to serialize this data and store it in the database. later, then...
2
by: BNW | last post by:
Sub PickRandom() Dim db As DAO.Database Dim tdf As DAO.TableDef Dim fld As DAO.Field Dim rst As DAO.Recordset Dim strSQL As String Dim strTableName As String ' 1:...
1
by: guyborn | last post by:
Hi I'm trying to get data from the database from the last week of the previous month to the second last week of the current month, I only manage to get data from the whole of the previous month...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...

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.