在C#中使用xmlHttp请求读取xml [英] Read xml using xmlHttp request in c#
本文介绍了在C#中使用xmlHttp请求读取xml的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个xml,该XML需要在加载页面或任何click事件上异步加载.请尽快告诉我.
I''m having a xml which need to load asynchronously on loading page or any click event. please tell me as soon as possible.
推荐答案
^ ]
为此,您需要一个更新面板.
或者更好,像这样:
http://www.dotnettutorials.com/tutorials/ajax/ajax-linq-xml- cs.aspx [ ^ ]
http://www.aspdotnet-suresh.com/2012/05/ajax-updapanel-control-with-triggers.html[^]
You need an update panel for that.
Or better, like this:
http://www.dotnettutorials.com/tutorials/ajax/ajax-linq-xml-cs.aspx[^]
看看XMLHttpRequest的这些内容:
XMLHttpRequest对象 [带有示例的XMLHTTPRequest [使用XML HTTP请求对象 [使用XMLHTTPRequest对象进行客户端验证 [
Have a look at these for XMLHttpRequest:
XMLHttpRequest Object[^]
XMLHTTPRequest with Sample[^]
Using the XML HTTP Request object[^]
Client Side Validation Using the XMLHTTPRequest Object[^]
如果您看下面的代码项目文章:
ASP.NET的AJAX技术和框架简介
解释了差异
而这个:
http://social.msdn.microsoft.com/论坛/zh-CN/architecturegeneral/thread/77d2b7b8-c4de-42e9-97bc-8b26a7320e5b
一些框架:
http://www.webreference.com/programming/asp/ajax_frameworks/index.html [ ^ ]
其中之一(thethem.net框架)在内部使用XMLHTTPRequest对象.
If you look at this codeproject article:
An Introduction to AJAX Techniques and Frameworks for ASP.NET
That explains the differences
and this:
http://social.msdn.microsoft.com/Forums/en-US/architecturegeneral/thread/77d2b7b8-c4de-42e9-97bc-8b26a7320e5b
Some frameworks:
http://www.webreference.com/programming/asp/ajax_frameworks/index.html[^]
One of them (the anthem.net framework) makes use of XMLHTTPRequest objects internally.
这篇关于在C#中使用xmlHttp请求读取xml的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文