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

  • SEARCH
  • Home
  • 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 8621575
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T06:51:04+00:00 2026-06-12T06:51:04+00:00

I am trying to display data from XML using dataset in gridview. Now I

  • 0

I am trying to display data from XML using dataset in gridview. Now I am getting data in table format. I am able to display data from individual tables but not all table data at once and I have 7 tables to display data from.

Here is my code:

protected void Page_Load(object sender, EventArgs e)
{
    LoadData();
}

public void LoadData()
{
    string filePath = Server.MapPath("~/App_Data/dummy.xml");
    DataSet dsData = new DataSet();
    FileStream fsReadSchema = new FileStream(filePath, FileMode.Open);
    dsData.ReadXml(fsReadSchema);
    fsReadSchema.Close();
    gv.DataSource = dsData.Tables[4];
    gv.DataBind();
}
  • 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-06-12T06:51:05+00:00Added an answer on June 12, 2026 at 6:51 am

    If I get it correctly – I would combine those seven tables into one – merged, as You know what they contains and what are merging criteria.
    Other solution – put seven grids on page and bind each table from dataset individually.

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

Sidebar

Related Questions

I am trying to display some xml data from remote URL using jquery and
I'm trying to read data from an xml file and display it in a
I'm trying to display some data from a list sharepoint and then using jquery
I am trying to display data that I am getting from server through json.
I am trying to display a table containing data from my db in a
I am trying to generate HTML which will display the data from XML through
I'm trying to export XML data from a web page to a spreadsheet using
I'm trying to make a request using dojo.xhrGet to grab some XML data from
I'm trying to display data from a database and I want to know what
Hi i am new to jsp & was trying to display some data from

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.