Click here to Skip to main content
15,891,704 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all my query is that i have to save the date in the xml file which i have done successfully but my record is saving without primary key so my question is how can i declare primary key is in XML file my date is saving like
XML
<Comments>
   <Name>a</Name>
   <location>aa</location>
   <Email>abhimanyu@gmail.com</Email>
   <Description>dfedf</Description>
   <Date>10/5/2013 1:17:31 PM</Date>
 </Comments>
 <Comments>
   <Name>a</Name>
   <location>aa</location>
   <Email>abhimanyu@gmail.com</Email>
   <Description>dfedf</Description>
   <Date>10/5/2013 1:17:32 PM</Date>
 </Comments>
Posted

1 solution

 
Share this answer
 
Comments
Abhimanyu vij 5-Oct-13 4:54am    
But tell me how i can set i am new to XML

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