Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 709041
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T04:27:33+00:00 2026-05-14T04:27:33+00:00

I using a dataset to read an xml file as shown below DataSet ds

  • 0

I using a dataset to read an xml file as shown below
DataSet ds = new DataSet();
ds.ReadXml(“C:\test.xml”);

test.xml contains

<MasterEntities>
  <FieldInfo>
    <Name>OMID</Name>
    <Mandatory>Yes</Mandatory>
    <RangeName>AssumptOMID</RangeName>
    <DataType>int</DataType>
    <Length>10</Length>
  </FieldInfo>
  <FieldInfo>
    <Name>ClientName</Name>
    <Mandatory>Yes</Mandatory>
    <RangeName>AssumptClient</RangeName>
    <DataType>string</DataType>
    <Length>50</Length>
  </FieldInfo>
  <FieldInfo>
    <Name>OppName</Name>
    <Mandatory>Yes</Mandatory>
    <RangeName>AssumptProjectName</RangeName>
    <DataType>string</DataType>
    <Length>50</Length>
  </FieldInfo>

  <Settings>
    <somesetting1></somesetting1>
    <somesetting2></somesetting2>
  </Settings>
</MasterEntities>

now i want to read fieldInfo in one dataset/datatable and settings in another dataset/datatable

Please help me with the code

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T04:27:34+00:00Added an answer on May 14, 2026 at 4:27 am

    Here’s a toy app that does that same thing, and shows the tables in the DataSet in a tree – and the contents of the table in a grid … handy for seeing what’s in a simple XML file …
    http://www.dot-dash-dot.com/files/WTFXMLSetup_1_8_0.msi.

    Source to the VB.NET project if you want it … http://www.dot-dash-dot.com/files/wtfxml.zip

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to read an XML file into a data set using dataset.ReadXml(fileName,
I've written a DataSet to a XML file using .WriteXML(FileName), and the DataSetName property
We are communicating with a 3rd party service using via an XML file based
I am currently trying to load a slightly large xml file into a dataset.
I have an XML file: <SMS> <Number>+447761692278</Number> <DateTime>2009-07-27T15:20:32</DateTime> <Message>Yes</Message> <FollowedUpBy>Unassigned</FollowedUpBy> <Outcome></Outcome> <Quantity>0</Quantity> <Points>0</Points> </SMS>
I have an XML File: <Database> <SMS> <Number>+447761692278</Number> <DateTime>2009-07-27T15:20:32</DateTime> <Message>Yes</Message> <FollowedUpBy>Unassigned</FollowedUpBy> <Outcome></Outcome> <Quantity>0</Quantity> <Points>0</Points>
I am writing a program that needs to read a set of records that
Update: I probably confused memory usage issues with the UI sharing same thread as
I have a string that I Gzip on the server and download to a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.