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

ºǫ́µ÷ÓÃJavaScriptÎÊÌâ - .NET¼¼Êõ / ASP.NET

ÎÒÔÚºǫ́µ÷ÓÃJavaScriptµÄʱºò£¬ËûÊÇÔÚºǫ́°ÑʼþµÄ´úÂëÖ´ÐÐÒ»´ÎºóÔÚÖ´ÐÐJavaScript·½·¨
 ÓÐʲô°ì·¨ ÔÚÖ´ÐÐJavaScript·½·¨µÄʱºòͣס£¬ÔÚÖ´ÐкóÃæµÄ´úÂë
²»Ì«Ã÷°×°¡£¬ËµÇå³þµã°É

¾ÍÊÇÖ´Ðкǫ́´úÂëµÄʱºòÖ´ÐÐJavaScript£¬Ëû»áÏÈÖ´Ðкǫ́ÔÚ×îºóµ÷ÓÃǰ̨

Õâ¸ö²»¿ÉÒԵİɣ¡


ÄãÏëʵÏÖʲô°É£¿ ˵һÏÂ
ÄãµÄÏë·¨ÊDz»¿ÉÄÜµÄ ²»¹ýÓбðµÄ½â¾ö°ì·¨

ÒýÓÃ
¾ÍÊÇÖ´Ðкǫ́´úÂëµÄʱºòÖ´ÐÐJavaScript£¬Ëû»áÏÈÖ´Ðкǫ́ÔÚ×îºóµ÷ÓÃǰ̨
 

°ÑÄãÒªÖ´Ðеķ½·¨Ìæ»»µôalert£¨£©

private void ºǫ́·½·¨£¨£©
{
  .....
  ×îºóÖ´ÐÐjs
  Response.Write("<script>alert('×îºóÖ´ÐаÉ') </script>"); 
}

ÏëʵÏÖ¾ÍÊDzåÈëÒ»Ìõ Êý¾Ý showModalDialog ¹ýÈ¥£¬²åÈë³É¹¦ºóÖØаó¶¨GridView

Page.RegisterStartUp("test","<script>jsº¯ÊýÃû;</script>");

ºÜÌìÕæ.

ÄãÊÇjava³ÌÐòÔ±Âð£¬Ôõôµ½¡£netÕâÀïÎÊ.
{{


Ïà¹ØÎÊ´ð£º

asp.netÖеÄGridViewÎÊÌâ

ÎÒÔÚ Page_Load ÀïдÁË
if(!IsPostBack){
  GridView1.DataSource=GroupManager.GetGroups();//GetGroups ·µ»ØµÄÊÇ IList<Group>
  GridView1.DataBind();
}
¿ÉÎÒÔÚ Submit_Click Àïд´ú ......

ASP.NETÈçºÎʵÏÖ×Ô¶¯µÇ¼ - .NET¼¼Êõ / ASP.NET

ÄÄλ´ó¸çÓÐûÓÐASP.NETÖÐÀûÓÃCookiesʵÏÖÓû§×Ô¶¯µÇ¼µÄ´úÂë...ллÁË...Ô½ÏêϸԽºÃ....
ʲôÒâ˼£¿×Ô¶¯µÇ¼£¿

mark òÊÓÊÇ´æ´¢cookies ÎÒÒ²¶Ôcook±È½ÏÃÔºý ¹Ø×¢ÏÂ

¼ÈÈ»ÄãÖªµÀÓÃcookies×Ô¼º¶¯¶¯´óÄÔ¶àºÃ£¡ ......

ASP.NETÀïµÄÒ»¸öAJAXµÄ´íÎó


ÎÒµÄÒ³ÃæÀïÓõÄAJAX¿Ø¼þ µ«Ò³Ãæ¾²Ö¹Ò»¶Îʱ¼ä¾Í»á³öÏÖÉÏÃæµÄÒ»¸ö´íÎóÊÇÔõô»áÊÂѽ Ôõô½â¾ö°¡
¸ßÊÖ°ï°ïæ°¡

½«ÏîÄ¿Éϼ¶Ä¿Â¼ÖеÄÖÐÎÄÃû³ÆÈ«²¿¸Ä³ÉÓ¢ÎÄ

Â¥ÉÏ˵µÄºÜÇå³þÁË¡£°ï¶¥Ò»Ï°É

Õâ¸öÎÊÌâ²»ÊǺܳ£ ......

asp.netºǫ́µ÷ÓÃjs·½·¨ - .NET¼¼Êõ / ASP.NET

<script type="text/javascript" src="js/Dialog.js"></script>
<script type="text/javascript">
  function zOpenD()
  {
  va ......

¹ØÓÚASP.NET¶¨Ê±Æ÷µÄÎÊÌâ

ÎÒÏëÿÌì°ëÒ¹×Ô¶¯Éú³É¾²Ì¬Ò³Ãæ¡£
ÔõôʵÏÖÕâ¸ö·½·¨¡£
ÄÇλ¸ßÊÖÖªµÀ£¬Çë´Í½ÌÏ¡£
д·þÎñ!

Ôõôд

д·þÎñ ¿ªÏß³Ì Ð´Îļþ ÈëÊý¾Ý¿â

д·þÎñ»òÕßÓÿªÔ´µÄµ÷¶È¿ò¼ÜQuartz.net
½¨ÒéÓúóÕߣ¬ºóÕßÌṩ±È½ÏÁé»îµ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ