代码转换
Dim xHttp
set xHttp = Server.CreateObject("microsoft.xmlhttp")
xHttp.open "GET",surl,false
xHttp.send()
Set xHttp = nothing
这代码怎么转为.net?? --------------------编程问答-------------------- System.Type _ObjType = System.Type.GetTypeFromProgID("microsoft.xmlhttp");
object _Object =System.Activator.CreateInstance(_ObjType);
_Object.GetType().InvokeMember("open", System.Reflection.BindingFlags.InvokeMethod, null, obj, new object[] { "GET", surl ,false});
_Object.GetType().InvokeMember("send", System.Reflection.BindingFlags.InvokeMethod, null, obj, new object[] { });
这样看看..
补充:.NET技术 , C#