Click here to Skip to main content
15,892,809 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi all,

I have tried to get exact data from xml, I struggle on that,

XML
<FormFieldValues>
  <FormFieldValue>
    <FieldName>cbEvaluationAssessment</FieldName>
    <FieldValue>ST</FieldValue>
    <Type>System.String</Type>
  </FormFieldValue>
  <FormFieldValue>
    <FieldName>EvaluationType</FieldName>
    <FieldValue>0</FieldValue>
    <Type>System.String</Type>
  </FormFieldValue>
  <FormFieldValue>
    <FieldName>etetimein1</FieldName>
    <FieldValue>8/19/2015 12:00:00 AM</FieldValue>
    <Type>System.DateTime</Type>
  </FormFieldValue>
  <FormFieldValue>
    <FieldName>etetimeout1</FieldName>
    <FieldValue>8/19/2015 12:00:00 AM</FieldValue>
    <Type>System.DateTime</Type>
  </FormFieldValue>



this is xml data i want take only fieldvalue from that, how can i get?

Thanks in Advance,
Posted
Comments
[no name] 23-Sep-15 7:31am    
In code behind you are trying to get the value or in DB level?
Tomas Takac 23-Sep-15 8:54am    
LINQ to XML[^] perhaps?

1 solution

Hi,

I need data from that code only. we have db that name is formfieldvalues
 
Share this answer
 
Comments
aarif moh shaikh 23-Sep-15 8:36am    
It's not a solution ...
Tomas Takac 23-Sep-15 8:52am    
Remove this solution and post the message as a comment.

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