请各位进来帮忙,自动查询自动记录问题,先谢谢... 在一个专网中采用浏览器页面来查询数据,在登录成功后,输入学号就会显示相应的成绩等信息,现在我需要查询的数据太多了,有几百个甚至几千个,不想一次输入一个得到一个结果,想做一个简单的程序,在后台sql中存储所有的学号,在前台表单winform中点击查询按钮就可以自动把所有学号对应的成绩都自动查出记录在sql中,该怎么办? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 webbrowerhttpwebrequest通过post传值获取返回数据HttpWebRequest req = (HttpWebRequest)WebRequest.Create(url);string s = "";byte[] requestBytes = System.Text.Encoding.ASCII.GetBytes ("");req.Method = "POST";req.ContentType = "application/x-www-form-urlencoded";req.ContentLength = requestBytes.Length;Stream requestStream = req.GetRequestStream(); webbrowerhttpwebrequest通过post传值获取返回数据HttpWebRequest req = (HttpWebRequest)WebRequest.Create(url);string s = "";byte[] requestBytes = System.Text.Encoding.ASCII.GetBytes ("");req.Method = "POST";req.ContentType = "application/x-www-form-urlencoded";req.ContentLength = requestBytes.Length;Stream requestStream = req.GetRequestStream();2楼写的是 下载页面你也对下载的 页面 进行处理截取相应的数据进行插入数据库操作即可 textbox如何去除焦点!! c#是否可以动态的设置字段的属性? 如何引用非当前目录的DLL? 怎么把一个xml文件转化为 System.IO.Stream 流 修改操作碰到的问题 下面的代码怎么解释 C#中关于引发事件的问题 在winform中怎样使 回车代替button_click 高分求b/s结构的解决方案 我如何将一个图像文件包存入Access数据库 c# 画了若干的圈,导致速度过慢如何处理? windows 2000系统上如何将sql server数据库设置成公网可以访问?
httpwebrequest通过post传值获取返回数据
HttpWebRequest req = (HttpWebRequest)WebRequest.Create(url);
string s = "";
byte[] requestBytes = System.Text.Encoding.ASCII.GetBytes ("");
req.Method = "POST";
req.ContentType = "application/x-www-form-urlencoded";
req.ContentLength = requestBytes.Length;
Stream requestStream = req.GetRequestStream();
httpwebrequest通过post传值获取返回数据
HttpWebRequest req = (HttpWebRequest)WebRequest.Create(url);
string s = "";
byte[] requestBytes = System.Text.Encoding.ASCII.GetBytes ("");
req.Method = "POST";
req.ContentType = "application/x-www-form-urlencoded";
req.ContentLength = requestBytes.Length;
Stream requestStream = req.GetRequestStream();
2楼写的是 下载页面
你也对下载的 页面 进行处理
截取相应的数据
进行插入数据库操作即可