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

DataSet and XML files

Hi NG!
I have a question to the following XML structure (or similar to this):

<History>
<Technique name="AB1" date="02/22/07 08:18">
<Voltage>230</Voltage>
<Size>
<X>12</X>
<Y>12</Y>
</Size>
</Technique>
<Technique name="BB1" date="02/22/07 08:25">
....
</Technique>
</History>

The History can have one or more Technique entries.
A technique is defined by the name and the date.
A technique contains different parameters.

According the MSDN I have 2 possibilities to create a XSD which allows
me to save my data.
1.) a nested XML structure (as displayed above)
2.) Use of Key/Keyref.

I just have to check if the values has been changed and if so create a
new technique entry.
Which is the best way to implement my needs ? What do you recommend
and why ?

Thanks

Feb 22 '07 #1
1 1249
schaf,
This really does not relate to the C# language. Try the ADO.NET newsgroup.
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"schaf" wrote:
Hi NG!
I have a question to the following XML structure (or similar to this):

<History>
<Technique name="AB1" date="02/22/07 08:18">
<Voltage>230</Voltage>
<Size>
<X>12</X>
<Y>12</Y>
</Size>
</Technique>
<Technique name="BB1" date="02/22/07 08:25">
....
</Technique>
</History>

The History can have one or more Technique entries.
A technique is defined by the name and the date.
A technique contains different parameters.

According the MSDN I have 2 possibilities to create a XSD which allows
me to save my data.
1.) a nested XML structure (as displayed above)
2.) Use of Key/Keyref.

I just have to check if the values has been changed and if so create a
new technique entry.
Which is the best way to implement my needs ? What do you recommend
and why ?

Thanks

Feb 22 '07 #2

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

Similar topics

4
by: Simon | last post by:
Hi all, I have a process, where I take a dataset from an SQL call, and need to write an XML file from that dataset. The data set can contain 10's of tables, each with 100's of rows, and I have...
3
by: Diego TERCERO | last post by:
Hi... I'm working on a tool for editing text resources for a family of software product my company produces. These text resources are found in a SQL Server database, in a table called...
4
by: Brian Keating | last post by:
wonder if anyone can help me here, i've a framework 1.1 dataset which i serialize in framework 1.1 and deserialize in framework 2.0. This is fine, problem is that i want to modify some of the...
2
by: Jim Heavey | last post by:
Hello I turned Option Strict on and after I did, I am getting an error of "Option Explicit does not allow late binding". OK great, now it is time to learn how to create a strongly typed dataset....
3
by: jcrouse | last post by:
I have the following code that creates a couple of XML files: Dim dt1 As New DataTable("P1JoyUp") If H = True Then Dim dsH As New DataSet("HCPViewer") dsH.Tables.Add(dt1)
2
by: Gary Shell | last post by:
I have jumped in to the deep end of the pool, trying out visual inheritance of a form and have run into a snag. I have the need to create a simple maintenance form for five identically...
8
by: GaryDean | last post by:
In an 2.0 asp app I used vs.net 2005 to create a TableAdapter:Dataset in my App_code directory. I also created a new vb class in that same directory. I have two issues: 1. I notice that there...
3
by: JimmyKoolPantz | last post by:
I have an ongoing problem that I can not seem to figure out. The problem is everytime I bind data to a dataset or datatable where the data source does not have a "header row" the first record in...
12
by: Simon | last post by:
Hi all, I'm having a baffling problem with a windows service that I'm working on. Basically, I am using a typed dataset to insert a large number of rows into an SQL Server 2005 database. But...
2
by: Magnus Bergh | last post by:
I have a solution which contains multiple projects (different applications). Every project use the same typed dataset (and also a few other shared code files). I tried to remove the dataset.xsd...
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
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
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...
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
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.