Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Asp.net ÖÐ GetºÍPost µÄÓ÷¨

 ±íµ¥formµÄÌá½»ÓÐÁ½ÖÖ·½Ê½£¬Ò»ÖÖÊÇgetµÄ·½·¨£¬Ò»ÖÖÊÇpost µÄ·½·¨.¿´ÏÂÃæ´úÂë,Àí½âÁ½ÖÖÌá½»µÄÇø±ð:
1 <form id="form1" method="get" runat="server">
2     <div>
3          ÄãµÄÃû×Ö<asp:TextBox ID="name" runat="server"></asp:TextBox><br />
4         <br />
5          ÄãµÄÍøÕ¾<asp:TextBox ID="website" runat="server"></asp:TextBox><br />
6         <br />
7         <br />
8         <asp:Button ID="Button1" runat="server" Text="send" /><br />
9         <br />
10         <br />
11          ѧϰrequest ºÍ responseµÄÓ÷¨<br />
12         <br />
13         <br />
14     </div>
15     </form>
1 <form id="form2" method="post" runat="server">
2     <div>
3          ÄãµÄÃû×Ö<asp:TextBox ID="name2" runat="server"></asp:TextBox><br />
4         <br />
5          ÄãµÄÍøÕ¾<asp:TextBox ID="website2" runat="server"></asp:TextBox><br />
6         <br />
7         <br />
8         <asp:Button ID="Button2" runat="server" Text="send" /><br />
9         <br />
10    &


Ïà¹ØÎĵµ£º

dz̸ASP.net°²È«±à³Ì

ÔÚWeb±à³Ì¹ý³ÌÖУ¬´æÔÚןܶలȫÒþ»¼¡£±ÈÈçÔÚÒÔÇ°µÄASP°æ±¾ÖУ¬CookieΪ·ÃÎÊÕߺͱà³ÌÕ߶¼ÌṩÁË·½±ã£¬²¢Ã»ÓÐÌṩ¼ÓÃܵŦÄÜ¡£´ò¿ªIEä¯ÀÀÆ÷£¬Ñ¡Ôñ“¹¤¾ß”²Ëµ¥ÀïµÄ“InternetÑ¡Ï¬È»ºóÔÚµ¯³öµÄ¶Ô»°¿òÀïµ¥»÷“ÉèÖÔ°´Å¥£¬Ñ¡Ôñ“²é¿´Îļþ”°´Å¥£¬ÔÚµ¯³öµÄ´°¿ÚÖУ¬¾Í»áÏÔʾӲÅÌÀï ......

ASP.NETÖÐʹÓÃÑéÖ¤Âë¼¼Êõ

 ÓÉÓÚÑéÖ¤Âë¼¼ÊõÖзþÎñÆ÷³ÌÐòÐèÒª´´½¨ÑéÖ¤ÂëͼƬ£¬ÀïÃæÓõ½ÁËͼÐαà³Ì£¬Òò´Ë±¾½Ú¿Î³ÌÈÔÈ»ÊÇC#·¢ÏÖÖ®ÂõÄͼÐαà³ÌϵÁн̡̳£
     ¸ù¾ÝÑéÖ¤ÂëµÄÔ­Àí£¬ÎÒÃÇʹÓÃC#ÔÚASP.NETÖÐʵÏÖÁËÑéÖ¤ÂëµÄ¹¦ÄÜ¡£
checkimage.aspx
     Ê×Ïȸù¾ÝÉϽڿγ̵ÄÄÚÈÝ£¬ÎÒÃÇÒª´´½¨Ò»¸öͼƬ·þÎñҳà ......

ASP.NETÖг£ÓõÄ26¸öÓÅ»¯ÐÔÄÜ·½·¨(6


 
6. Ö»Òª¿ÉÄÜ£¬¾Í»º´æÊý¾ÝºÍÒ³Êä³ö ¡¡¡¡
ASP.NET ÌṩÁËһЩ¼òµ¥µÄ»úÖÆ£¬ËüÃÇ»áÔÚ²»ÐèҪΪÿ¸öÒ³ÇëÇó¶¯Ì¬¼ÆËãÒ³Êä³ö»òÊý¾Ýʱ»º´æÕâЩҳÊä³ö»òÊý¾Ý¡£ÁíÍ⣬ͨ¹ýÉè¼ÆÒª½øÐлº´æµÄÒ³ºÍÊý¾ÝÇëÇó(ÌرðÊÇÔÚÕ¾µãÖÐÔ¤ÆÚ½«ÓнϴóͨѶÁ¿µÄÇøÓò)£¬¿ÉÒÔÓÅ»¯ÕâЩҳµÄÐÔÄÜ¡£Óë .NET Framework µÄÈκΠWeb ´°Ì幦ÄÜÏà±È£¬Êʵ±µØÊ ......

ASP.NETµ÷ÓÃjavascript½Å±¾µÄ·½·¨

1¡¢Ö±½ÓÔÚǰ̨µ÷Óà javascript º¯Êý
ºÜ¼òµ¥,ÔÚ head ÔªËØÖ®¼ä¼ÓÈë script ÔªËØ,½« type ÔªËØÉèÖÃΪ " text/javascript "
Èç:
<head runat="server">
<script type="text/javascript" >
function ShowName(str)
{
alert("ÄúµÄÃû×ÖΪ:("+str+")");
}
</script>
    <title> ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ