如何在xml文件中定义主键 [英] how to define the primary key in xml file
本文介绍了如何在xml文件中定义主键的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好我的所有查询是我必须在xml文件中保存日期我已成功完成但我的记录是没有主键保存所以我的问题是如何声明主键是在XML文件我的日期是保存喜欢
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
<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>
推荐答案
set-primary-key-element-xml [ ^ ]
这篇关于如何在xml文件中定义主键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文