473,322 Members | 1,736 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,322 software developers and data experts.

Navigate DataSet from XML

<States>
- <state>
<id>NY</id>
<Flat>False</Flat>
<Value>Value1</Value>
- <Taxes>
- <Tax>
<Min>Min1</Min>
<Max>Max1</Max>
<Value>Value2</Value>
</Tax>
- <Tax>
<Min>Min2</Min>
<Max>Max2</Max>
<Value>Value3</Value>
</Tax>
</Taxes>
</state>
- <state>
<id>IN</id>
<Flat>True</Flat>
<Value>Value4</Value>
</state>
- <state>
<id>OH</id>
<Flat>False</Flat>
<Value>Value5</Value>
- <Taxes>
- <Tax>
<Min>Min3</Min>
<Max>Max3</Max>
<Value>Value6</Value>
</Tax>
- <Tax>
<Min>Min4</Min>
<Max>Max4</Max>
<Value>Value7</Value>
</Tax>
</Taxes>
</state>
</States>

This is the XML doc that I read into my dataset. When I try and do this
I can not figure out how to read the <Taxes><Taxnodes. Any help would
be appreciated, thanks.

samoore33

Aug 18 '06 #1
1 988
Samoore33,

You should use some commen sense and change the code around that you
found at this link.
http://samples.gotdotnet.com/quickst...SetXMLData.src

I think it will work well for you.

Samoore33 LOL!

samoore33 wrote:
<States>
- <state>
<id>NY</id>
<Flat>False</Flat>
<Value>Value1</Value>
- <Taxes>
- <Tax>
<Min>Min1</Min>
<Max>Max1</Max>
<Value>Value2</Value>
</Tax>
- <Tax>
<Min>Min2</Min>
<Max>Max2</Max>
<Value>Value3</Value>
</Tax>
</Taxes>
</state>
- <state>
<id>IN</id>
<Flat>True</Flat>
<Value>Value4</Value>
</state>
- <state>
<id>OH</id>
<Flat>False</Flat>
<Value>Value5</Value>
- <Taxes>
- <Tax>
<Min>Min3</Min>
<Max>Max3</Max>
<Value>Value6</Value>
</Tax>
- <Tax>
<Min>Min4</Min>
<Max>Max4</Max>
<Value>Value7</Value>
</Tax>
</Taxes>
</state>
</States>

This is the XML doc that I read into my dataset. When I try and do this
I can not figure out how to read the <Taxes><Taxnodes. Any help would
be appreciated, thanks.

samoore33
Aug 18 '06 #2

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

Similar topics

2
by: mjpiedade | last post by:
I just started with C#. How do I navigate on a dataset by changing the value of a textbox or other simple bound controls? Imagine that I have the customer name on a textbox and have a datagrid...
2
by: Carl Lindmark | last post by:
Hello, I am having trouble understanding how to navigate a DataSet table... - maybe someone can steer me in the right direction? Say you've read an XML document into a DataSet ("myDataSet")...
3
by: ruca | last post by:
Hi Can I pass a DataSet from one page (parent) to another (child, popup window)? How can I do that? -- Programming ASP.NET with VB.NET
0
by: Oberon | last post by:
How do I navigate through records using drag 'n' drop controls? I have an example in C# for Windows forms that relies on BindingContext but this is not available for ASP.NET. How do I solve that...
15
by: Bob | last post by:
Hello: I'm building a simple windows database application that has two tables with One to One relationships on MS Access tables. I know what your thinking. Why not just use one table? ...
1
by: alps | last post by:
Hello friends , I am basically a delphi developer and am new to the VB.net technology.Can anyone out there give me a typical VB.net solution for a dataentry program for a table.Lets say...
4
by: Peter Newman | last post by:
i have a dataset and want to step thrpugh each row each time a user clicks a button,
2
by: Ryan Ramsey | last post by:
I have been chasing this one down for a week and have narrowed it down to a machine issue. I have the following code: webBrowser.Navigate(http://finao.net/post_dkp.php?database=40); Basically...
2
by: =?Utf-8?B?QmVybmFyZCBLaW0=?= | last post by:
I have VC# 2005. I need to use ADODB instead with ADO.NET. I can open a recordset. however, I can not navigate records in recordset. How can I navigate records? What is the command line for...
1
by: Falcula | last post by:
Hello, I have a treeview control, when i select a item i navigate to url. But selected node is lost, it reset itself, loosing state. I post my code here. Thanks in advance. <script...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
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...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.