使用XML更新ASP.NET C#页面 [英] Updating an asp.net c# page with xml

查看:105
本文介绍了使用XML更新ASP.NET C#页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个问题,我想知道如何在xml的帮助下在textbox的asp.net c#页面中进行更新和删除以及进行查询.

就像在asp.net页面中使用sql查询一样

从员工集中选择* col =名称已更改,其中id = 1

帮我:laugh:

解决方案

您可以使用XmlDocument类以及SelectNodes或SelectSingleNode方法上的XPath来搜索XML.


I have a problem that I want to know that how to update and delete and make a query in asp.net c# page in textbox with the help of xml as a databse .

Just like in asp.net page with sql query is

Select * from employee set col = namechanged where id =1

Help me guys :laugh:

解决方案

You search XML using the XmlDocument class, and XPath on the SelectNodes or SelectSingleNode methods.


这篇关于使用XML更新ASP.NET C#页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆