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 8071833
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T13:49:17+00:00 2026-06-05T13:49:17+00:00

I am working in .Net and Oracle. I am having a XML data in

  • 0

I am working in .Net and Oracle. I am having a XML data in my table. My data is like this..

<Goals>
    <Reg>
        <Min>75</Min>
        <Max>90</Max>
    </Reg>
    <Sale>
        <Min>75</Min>
        <Max>90</Max>
    </Sale>
</Goals>

also have some other columns in that table. I need to fetch this and I should bind this value in gridview. My gridview will have separate columns for these XML. like, Reg Min, Reg Max, Sale Min,Sale Max etc..

How should I separate this XML values?

  • 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-05T13:49:18+00:00Added an answer on June 5, 2026 at 1:49 pm

    You can also do it in the DB:

    select t.id,
           xmltype(t.xmltext) .extract('//Reg/Min/text()').getstringval() reg_min,
           xmltype(t.xmltext) .extract('//Reg/Max/text()').getstringval() reg_max,
           xmltype(t.xmltext) .extract('//Sale/Min/text()').getstringval() sale_min,
           xmltype(t.xmltext) .extract('//Sale/Max/text()').getstringval() sale_max
      from table_name t
    

    I used table_name as your table name, and xmltext as the column name which holds your xml (assuming it’s a string)

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

Sidebar

Related Questions

I'm working with .NET strongly-typed datasets and have a table with a nullable int
Just started working with .NET and MVC(1). I'm having a problem wherein in my
I'm working with .NET (C#) and the speech recognition engine. I'd like to be
I'm working on a .Net application that needs to read from an Oracle 10g
I'm working on a web service that fetches data from an oracle data source
I am a .Net web developer working with a legacy Oracle database. In the
I'm working on an Excel Addin (VSTO) in .NET that connects to an Oracle
I am working with Oracle and ODP.Net and registering some continuous query notifications. Everything
My and 2 of my friends finished working on a .NET and Oracle based
I'm using ADO.NET to connect to an Oracle DB through ODBC. Everything is working

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.