且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在幕后运行网址,而不在C#.net的浏览器中显示它

更新时间:2023-11-27 21:17:58

请参阅我对该问题的评论。无论您想做什么,您都可以使用任何URL在服务器端下载纯数据,并按照您希望的方式处理它而不显示它。所有你需要的是类 System.Net.HttpWebRequest

http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest%28v=vs.110%29 .aspx [ ^ ]。



-SA
Please see my comment to the question. No matter what do you want to do, you can always download the pure data on the server side using any URL and process it the way you want without displaying it. All you need is the class System.Net.HttpWebRequest:
http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest%28v=vs.110%29.aspx[^].

—SA


嘿,



只需尝试Ajax通话。它对我有用。希望它也适合你。
Hey,

Just try for Ajax call. Its worked for me. Hope it will for you also.