Asp.Net³£ÓÃJavaScript·â×°(ת)
using System;
using System.Text;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
namespace JScript
{
/// <summary>
/// ÌṩÏòÒ³ÃæÊä³ö¿Í»§¶Ë´úÂëʵÏÖÌØÊ⹦Äܵķ½·¨
/// </summary>
/// <remarks>
/// </remarks>
public class JScript
{
/// <summary>
/// ¼ÓÈëÊղؼÐ
/// </summary>
/// <param name="url">ÊÕ²ØÍøÖ·</param>
/// <param name="urlname">ÊÕ²ØÍøÖ·Ìáʾ</param>
/// <param name="name">ÊÕ²ØÍøÖ·Ãû×Ö</param>
&nbs
Ïà¹ØÎĵµ£º
½«ViewState³Ö¾Ã»¯±£³ÖÔÚ·þÎñÆ÷¶ËÎļþµÄ´úÂ룬ÕâÑùViewState²»Õ¼ÓÃÍøÂç´ø¿í£¬Òò´ËÆä´æÈ¡Ö»ÊÇ·þÎñÆ÷µÄ´ÅÅ̶Áȡʱ¼ä¡£²¢ÇÒËüºÜС£¬¿ÉÒÔ˵ÊÇ´ÅÅÌËæ±ãתһȦ¾ÍÄÜͬʱ¶ÁÈ¡ºÃ¶àViewState£¬Òò´Ë¿ÉÒÔ˵“²»Õ¼Ê±¼ä”¡£ÎªÁËÔÙ“²»Õ¼´ÅÅÌʱ¼ä”£¬ÎÒ»¹Ê¹ÓÃÁË»º´æ¡£
´´½¨Ò»¸ö»ùÀà:
public class
BasePage : Sys ......
Èç¹û¶Ô΢ÐͼÆËã»úÓ²¼þϵͳÓÐ×ã¹»µÄÁ˽⣬ÄÇôÎÒÃǶÔÓÚCacheÕâ¸öÃû´ÊÒ»¶¨ÊǶúÊìÄÜÏêµÄ¡£ÔÚCPUÒÔ¼°Ö÷°åµÄоƬÖУ¬¶¼ÒýÈëÁËÕâÖÖÃûΪ¸ßËÙ»º³å´æ´¢Æ÷£¨Cache£©µÄ¼¼Êõ¡£ÒòΪCacheµÄ´æÈ¡ËٶȱÈÄÚ´æ¿ì£¬Òò¶øÒýÈëCacheÄܹ»ÓÐЧµÄ½â¾öCPUÓëÄÚ´æÖ®¼äµÄËٶȲ»Æ¥ÅäÎÊÌâ¡£Ó²¼þϵͳ¿ÉÒÔÀûÓÃCache´æ´¢CPU·ÃÎʸÅÂʸߵÄÄÇЩÊý¾Ý£¬µ±CPUÐèÒª·ÃÎ ......
´ó¼Ò»áÔÚASP.NET 2.0ʹÓÃTreeView¿Ø¼þʱ·¢ÏÖ´øÓÐCheckBox¿Ø¼þµÄTreeNode¶ÔÏó£¨TreeView½Úµã£©£¬Ñ¡ÔñCheckBoxÎÞ·¨»Ø·¢Ò³Ãæ¡£ÔÚMSDNÖжÔÓÚTreeView.TreeNodeCheckChangedʼþÓÐÒ»¶Î±¸×¢£º“µ± TreeView ¿Ø¼þµÄ¸´Ñ¡¿òÔÚÁ½´ÎÏò·þÎñÆ÷·¢ËÍÖ®¼ä¸ü¸Ä״̬ʱ£¬»áÒý·¢ TreeNodeCheckChanged ʼþ¡£ÕâʹÄú¿ÉÒÔÌṩһ¸öÕâÑùµÄʼþ´ ......
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
using ......
¹ØÓڿؼþͼ±êµÄÊ£¬¿ÉûÉÙϹÕÛÌÚ£¬´ÓÇ°ÄêÏëÈëÊÖÕâ·½Ã濪ʼ£¬¾Íû¸ã¶¨¹ý¡£N¶à´óϺµÄÌù×Ó¶¼·ÀÃÁË£¬Ò²Ã»ÕÒ³ö¸öÍ·Ð÷À´¡£Æäʵ×ʼÓдÎÕæ¸øÃɳöÀ´ÁË£¡²»¹ýºóÀ´¸Ä¿Ø¼þ£¬Ò²²»ÖªµÀ¸ÄÄÄÁË¡£Ã»ÁË£¡ÓÚÊÇÂúÊÀ½çµÄCSDN¡¢MSDN¡£¡£¡£¡£NBµÄÈË£¬NBµÄÎÄÕ¿´ÁËÑÛÔΣ¬´òËÀҲûÓÐŪ³öÀ´¡£×òÌìÏîÄ¿ÖÐÓöµ½ÎÊÌ⣬¿´ÁËÒ»¸çÃǵĿؼþ£¨WEBABCD£ºÖÁ½ñ ......