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

DataSet::GetXml() order issues

Hello,

I have a dataset bound to some graphical controls, which I use to
reorder the rows. My problem is when I get the dataset into XML
format, The Xml rows are not ordered correctly-- they don't reflect
the changes I made in ordering teh rows. OK, so row ordering is not
guaranteed-- although I could have sworn I read it was in some
documentation-- but anyway, how can I capture the row order? I don't
want to explicitly keep an element under a row that holds its
position, because if I do that, suddenly databinding is no longer a
snap-- suddenly i have to do all this processing to display in correct
order and reorder on demand.

Instead I want to replace GetXml() function with my own version that
does preserve the ordering. But it's quite tricky to write
DataSet::GetXml.

Any tips? Any ideas on a simpler solution?

Thanks in advance
Nov 12 '05 #1
0 1311

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

Similar topics

3
by: Eric Decker | last post by:
With framework 1.0 the dataset.getxml() method returned the children nested within the parent. This doesn't seem to function this way with 1.1. Is there something I'm missing?
2
by: exBK | last post by:
Hi, I am writing out the DataSet.GetXml() to a file as below: Response.AddHeader ("Content-disposition", @"attachment; filename=Employee.xml"); Response.ContentType = "application/ms-tnef";...
0
by: william | last post by:
Hi, Here is what I've done: 1. create a XML schema for creating typed dataset. 2. declare a typed dataset as the XML schema of step 1. 3. when I fill the dataset of step 2, I applied table...
0
by: lgdev | last post by:
I am using a Dataset with two tables (Customer, Order) and adding a DataRelation object with Nested property set to True. I do not have a schema defined for the dataset. Calling GetXml results in...
1
by: Kashyap | last post by:
Hi I am trying to convert a dataset to xml using dataset.getxml. But this xml doesn't contain elements for null columns that are present in the dataset. How can we explicitly control this...
1
by: Nanda | last post by:
Hi All, Thanks for u r Valuable postings. Here is a Problem for me. I need to reprsent the NULL value of a column in Database in an XML File as follows. <Employees> <Employee>
1
by: Elad | last post by:
hi, I'm sorry if this isn't the right group, I just didnt know which category to place this question in. Anyway, I have 2 problems: I got a web service which connects to a DB and puts the data in...
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...
1
by: Ganesh Muthuvelu | last post by:
Hello, Is it possible to make the dataset give the "xsi:type" data as well?. I need result from the dataset.GetXML method something like this for the column "a": <a xsi:type="int">12</a> Is...
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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:
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: 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.