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?
You can also do it in the DB:
I used
table_nameas your table name, andxmltextas the column name which holds your xml (assuming it’s a string)