Click here to Skip to main content
15,868,141 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
XML
Hi all,

I am just doing to start working in VB.Net. I want to separate the normal values alone in my XML datatype in SQL 2008.

I Couldn't able to read the xml data types and separate the values.


Please help me to get out this problem.

XML Data in my DB:-

#1
<dataSet><Table1><SNo>1</SNo><NormalCommentsVaules>0-40 IU/L</NormalCommentsVaules><NormalComments /></Table1></dataSet>

#2

<dataSet><Table1><SNo>1</SNo><NormalCommentsVaules>Less than 0.6 mg/dl</NormalCommentsVaules><NormalComments /></Table1><Table1><SNo>2</SNo><NormalCommentsVaules>More than 0.6 mg/dl</NormalCommentsVaules><NormalComments /></Table1></dataSet>

In that above i want to separate the NormalCommentsVaules alone, ie.,

#1 0-40 IU/L

#2 Less than 0.6 mg/dl
   More than 0.6 mg/dl

Suresh P
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900