如何发送表单
<script>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();}</script>请教高手如何用c#向一个服务器的具体端口发送表单,然后接收服务器传回的认证信息?我曾经试着用WebClient的UploadData方法,但是总是收到服务器的消息“密码错误”,请教该如何做?有c#代码更好,谢谢。
页:
[1]