摘要:
上次写了 使用WebClient自动填写并提交ASP.NET页面表单 一些朋友说需要完整的源代码。今天我把源代码整理了一下传了上来,供大家参考。 try { // 要提交表单的URI字符串。 string uriString = "http://localhost:1165/WebTest/MyLogin.aspx"; /////... 阅读全文
摘要:
方法一、 System.Net.WebClient WebClientObj = new System.Net.WebClient(); System.Collections.Specialized.NameValueCollection PostVars = new System.Collections.Specialized.NameValueCollection(); ... 阅读全文