摘要:
HttpClient client = new HttpClient("[登陆页面地址]?username=aaa&password=bbb", null, true); //最后一个参数true,表示保存返回的Cookies,
string html=client.GetString();//发出请求,返回结果字符串;
client.url=searchurl; //searchurl为查询页面,在该url后连上对应的查询条件即可完成查询
string html=client.GetString(); 阅读全文
摘要:
使用UpdatePanel时出现table can't place inside updatePanel,table不能嵌套在updatepanel中的错误
起初以为是WEB.Config未配置好或System.Web.Extensions或Microsoft.web.Preview未引用
最后通过GOOGLE搜到关于table can't place inside updatePanel的文章
使用即可解决问题:
阅读全文