•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the VB.NET section within the Software Development category of DaniWeb, a massive community of 456,598 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,453 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our VB.NET advertiser: Programming Forums
Views: 869 | Replies: 0
![]() |
•
•
Join Date: Sep 2007
Posts: 3
Reputation:
Rep Power: 0
Solved Threads: 0
I’m selecting data from tables in a SQL Server 2000 data base, and putting the result into a Dataset.
I’m writing the dataset out to a file in XML format using ds.WriteXml(myXmlWriter, XmlWriteMode.IgnoreSchema).
The table names are in singular (i.e. table customer is called “customer”), if I have more than one record in the table, I need to preceed my table name with a plural name (i.e. “customers”) in the instance of my XML file.
Example:
</customers>
</customer>SMITH</customer>
</customer>/JONES</customer>
<customers/>
This is my first time working w/XML file. Please advise me how to do the following:
How do I manipulate a dataset to insert a tag or node containing the plural table name (i.e. customers) if there is more than one record in the table?
Some of the columns contain NULL values, when my dataset is built, SQL Server 2000 omits the columns that have the value NULL, I need to include the null columns and have the ending node tag to write xsi:= nil.
Thanks for your help
I’m writing the dataset out to a file in XML format using ds.WriteXml(myXmlWriter, XmlWriteMode.IgnoreSchema).
The table names are in singular (i.e. table customer is called “customer”), if I have more than one record in the table, I need to preceed my table name with a plural name (i.e. “customers”) in the instance of my XML file.
Example:
</customers>
</customer>SMITH</customer>
</customer>/JONES</customer>
<customers/>
This is my first time working w/XML file. Please advise me how to do the following:
How do I manipulate a dataset to insert a tag or node containing the plural table name (i.e. customers) if there is more than one record in the table?
Some of the columns contain NULL values, when my dataset is built, SQL Server 2000 omits the columns that have the value NULL, I need to include the null columns and have the ending node tag to write xsi:= nil.
Thanks for your help
![]() |
•
•
•
•
•
•
•
•
DaniWeb VB.NET Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
.net .net framework 3.0 access ajax api asp blogger blogging code combo custom data database developer development dom dropdownlist feed gdata google hacker html linspire linux microsoft module msdn net news office openoffice programming reader reuse rss security skin software sql standards survey theme vista w3c weather web windows workflow xml xoap
- Need Freelance ASP.NET, MS SQL, C#, VB.NET Developer (Web Development Job Offers)
- Senior C#.Net Software Engineer - Oxfordshire - ASP. Net / SQL Server (Web Development Job Offers)
- help with paging in sql 2000 (MS SQL)
- sql 2000 + xml file (VB.NET)
- extracting ataached xml file from outlook to a folder (Techies' Lounge)
- Can't open any xml file (PHP)
- Getting info from an XML file (PHP)
- How to store and search a XML FIle (ASP.NET)
- Unzip zipped xml file (VB.NET)
- Windows 2000 Debug file (Windows NT / 2000 / XP / 2003)
Other Threads in the VB.NET Forum
- Previous Thread: sql 2000 + xml file
- Next Thread: Cancel Button


Linear Mode