如何在没有标签的情况下从XML字段中提取数据使用ASP.NET

编程入门 行业动态 更新时间:2024-10-09 19:13:16
本文介绍了如何在没有标签的情况下从XML字段中提取数据使用ASP.NET的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

无论如何,我可以在没有标签的情况下在我的xml中显示数据。任何帮助都会有用。以下是我的xml

Is there anyway I can display data in my xml without tags. Any help will be useful. Below is my xml

我想要的是在没有标签的数据库中显示来自xml的数据。无论如何还是设置为显示没有标签的字段。

What I would like is to display the data from xml in my database without the tags. Is there anyway or setting todisplaythe fields without tags.

推荐答案

论坛ASP是@ forums.asp。 我可以告诉您:是的,您可以,只需读取XML并使用System.Xml命名空间从每个节点的#text子节点中提取数据。 The forums for ASP are @ forums.asp. Up front I can tell you: Yes, you can, just read the XML and extract the data out of the #text child node of each individual node using the System.Xml namespace.

更多推荐

如何在没有标签的情况下从XML字段中提取数据使用ASP.NET

本文发布于:2023-11-07 15:44:30,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1566849.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:字段   情况下   标签   数据   如何在

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!