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

ÍƼöasp.netµ×²ãÔ­ÀíÊé¼® - .NET¼¼Êõ / ASP.NET

ͨ¹ý´¥·¢html¿Ø¼þµÄÒ»¸öʼþ£¬»áÒý·¢Ò»¶Î½Å±¾´úÂ룻µ±´¥·¢Ò»¸ö·þÎñÆ÷¿Ø¼þµÄʼþʱ£¬·þÎñÆ÷¶Ë»áÏìÓ¦¿Í»§µÄ²Ù×÷¡£ÆäÖзþÎñÆ÷¶ËÊÇÈçºÎÖªµÀÔõÑùÏìÓ¦¿Í»§¶ËµÄÇëÇóµÄÄØ£¬·þÎñÆ÷¶ËÓÖÊÇÔõô»ñµÃËùÐèÒªµÄ¿Í»§¶ËÊý¾ÝµÄ£¬¾ßÌåµÄÁ÷³ÌÊÇÔõôÑùµÄ£¬´Ó¿Í»§¶Ë´¥·¢Ä³¸öʼþ¿ªÊ¼£¬µ½·þÎñÆ÷¶Ë½«½á¹û·µ»Øµ½¿Í»§¶Ë£¬ÕâÆäÖеľßÌåÁ÷³Ìϸ½ÚÊÇÔõôÑùµÄ£¬Ô­ÀíÈçºÎ¡£
ÎÒÏëÎʵÄÊÇ£¬ÓÐûÓÐÖ÷Òª½éÉÜÕâЩµ×²ãµÄÔ­ÀíºÍʵÏÖϸ½ÚµÄºÃµÄÊé¼®£¿
MSDN
ÔÚASP.NETÓ¦ÓóÌÐòÏÔʾµÄÒ³ÃæÉÏÃæµã»÷Ò»¸öButton¾Í»áµ¼ÖÂÒ³ÃæÌá½»£¬²¢ÇÒÔÚ·þÎñÆ÷¶ËÒý·¢¶ÔÓ¦µÄPostBackʼþ
ͨ¹ýReflector²é¿´ PageÀàÐ͵ÄRaisePostBackEvent·½·¨

<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />  
µã»÷Buttonʱ,¿Í»§¶Ë»áͨ¹ýJavaScript½«±»µã»÷µÄLinkButtonµÄNameºÍ¶ÔÓ¦ µÄ²ÎÊý´æ´¢ÔÚÕâ2¸öhidden inputÖÐ,È»ºóÌá½»Ò³Ãæ,Ò³Ãæ»á½«Õâ2¸öhidden input ´ò°ü,ÒÔkey-valueµÄÐÎʽ´«»Øµ½·þÎñÆ÷¶Ë,·þÎñÆ÷¶Ë¾Í¿ÉÒÔͨ¹ý postData["__EVENTTARGET"] À´»ñÈ¡¾¿¾¹ÊÇʲôÒý·¢Ò³Ãæ»Ø´«



ÒýÓÃ
ͨ¹ý´¥·¢html¿Ø¼þµÄÒ»¸öʼþ£¬»áÒý·¢Ò»¶Î½Å±¾´úÂ룻µ±´¥·¢Ò»¸ö·þÎñÆ÷¿Ø¼þµÄʼþʱ£¬·þÎñÆ÷¶Ë»áÏìÓ¦¿Í»§µÄ²Ù×÷¡£ÆäÖзþÎñÆ÷¶ËÊÇÈçºÎÖªµÀÔõÑùÏìÓ¦¿Í»§¶ËµÄÇëÇóµÄÄØ£¬·þÎñÆ÷¶ËÓÖÊÇÔõô»ñµÃËùÐèÒªµÄ¿Í»§¶ËÊý¾ÝµÄ£¬¾ßÌåµÄÁ÷³ÌÊÇÔõôÑùµÄ£¬´Ó¿Í»§¶Ë´¥·¢Ä³¸öʼþ¿ªÊ¼£¬µ½·þÎñÆ÷¶Ë½«½á¹û·µ»Øµ½¿Í»§¶Ë£¬ÕâÆäÖеľßÌåÁ÷³Ìϸ½ÚÊÇÔõôÑùµÄ£¬Ô­ÀíÈçºÎ¡£
ÎÒÏëÎʵÄÊÇ£¬ÓÐûÓÐÖ÷Òª½éÉÜÕâЩµ×²ãµ


Ïà¹ØÎÊ´ð£º

¶¯Ì¬È¡µÃaspÀà³ÉÔ±

ÓÐÒ»¸öÀà
class adc
{
dim a,b,c
}
ÈçºÎÔÚÁíÍâÒ»¸öÀàÖÐÈ¡µÃÀà³ÉÔ±¼°³ÉÔ±¸öÊý
class getmenber
{
dim menbers()
function getmenbers(resclass)
'resΪһδ֪Àà
'getmenber ......

ASPα¾²Ì¬ - Web ¿ª·¢ / ASP

aspÐéÄâÖ÷»úʵÏÖα¾²Ì¬µÄ·½·¨£º
1¡¢ ÖØдurl²ÎÊý
Step1: ½¨Á¢Ç°Ì¨Îļþindex.asp£¬ÐÞ¸Äurl²ÎÊýÐÎʽ¡£ÓÉÓÚ¶ÁÈ¡Êý¾Ý¿âÖеļǼ²»ÊÇרÌâµÄÖص㣬¹ÊÖ±½Ó¸ø³ö:
<!--#include file="config.asp" -->
&l ......

js¿ØÖÆasp¿Õ¼ädropdownlist - .NET¼¼Êõ / ASP.NET

ÎÒÓÐÁ½¸ödropdownlist¶¼°óºÃÁËÖµ£¬ÏëÑ¡ÖÐÒ»¸ödropdownlistÖеÄÖµ£¬È»ºóÔÚÁíÒ»¸ödropdownlistÖÐÑ¡ÖÐÏàÓ¦µÄÒ»Ïî¡£
²»ÊÇ´Óа󶨵ڶþ¸ödropdownlist£¬ÊÇÔÚÒѾ­°óºÃµÄÖµµ±ÖÐÑ¡ÖÐÒ»¸ö¡£
ÎÒÏëÓÃjsд
ÇóÖú
Äã¿ÉÒÔ°Ñdrop ......

AJAX ºǫ́Ôõôȡ²»µ½Ö± - .NET¼¼Êõ / ASP.NET

´úÂëÈçÏ Çë¸ßÊÖ Ö¸µãÏ лл
ajax_http.js
-------------
function getXMLHTTP() {
  var xmlhttp;
  if (window.ActiveXObject) {
  //IE
  try {
  ......

asp.net ÏÂÔØ - .NET¼¼Êõ / ASP.NET

sqlserverµÄÊý¾Ý¿â£¬×Ö¶ÎÊÇimageÀàÐ͵ġ£Ôõôд´úÂ룬ÔÚÒ³ÃæÖеã»÷¡°ÏÂÔØ¡±¾ÍÄÜ´ò¿ªÄǸöÏÂÔضԻ°¿ò£¿
PS£ºOracleLob ÔÚsqlserverÀïÊÇʲô£¿
Response.Redirect("test.jpg")

ÒýÓÃ
Response.Redirect( ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ