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

ASP.NETÖеķþÎñÆ÷¿Ø¼þºÍ¿Í»§¶Ë¿Ø¼þ

 1. ·ÃÎÊ HTML¿Ø¼þµÄÖµÊÇvalueÊôÐÔ
     ·ÃÎÊ ASP.NET¿Ø¼þµÄÖµÊÇtextÊôÐÔ
 --------------------------------------------------------
2.·Ö±ðÐèÒªµÄÃû×Ö¿Õ¼äΪ£º
using System.Web.UI.HTML.Controls;
using System.Web.UI.WebControls;
---------------------------------------------------------
3.·þÎñÆ÷¶Ë¿Ø¼þ¿ÉÒÔ´¥·¢¿Í»§¶Ëʼþ
   onClientClick="f()"; //¿Í»§¶Ëʼþ£¬¿ÉÒÔµ÷ÓÃjsº¯Êý´¦Àíʼþ
   onClick="f";  //·þÎñÆ÷¶Ëʼþ£¬ÔÚºǫ́Óж¨Òå´¦Àíʼþ
--------------------------------------------------------
4.¿Í»§¶Ë¿Ø¼þÒ²¿ÉÒÔ´¥·¢·þÎñÆ÷¶Ëʼþ
onServerClick="f" Ò»°ãÓõĺÜÉÙ
--------------------------------------------------------
5.ʹÓÃÔ­Ôò£º
¿Í»§¶Ë×öµÄ²»Ìá½»·þÎñÆ÷¶Ë£¬·þÎñÆ÷¶Ë×öµÄ²»Ìá½»¿Í»§¶Ë


Ïà¹ØÎĵµ£º

Asp.Net²Ù×÷txt£¬¶Áдȡ¡£²¢¶ÔtxtÎļþ½øÐÐÌõ¼þ²éѯ


1£©´´½¨txtÎļþ¡¾web.config¡¿
   --------------------------------------------------------------------
<appSettings>
    <add key="EditChars" value="D:\Site\ZJPS\TextFile\EditChars.txt"/>
</appSettings>
2) Ò³ÃæµÄCSÎļþÖУº
   --------------- ......

Asp.net³£ÓÃÓï¾ä20Ìõ.//µ¯³ö¶Ô»°¿ò.µã»÷תÏòÖ¸¶¨Ò³Ãæ


1.//µ¯³ö¶Ô»°¿ò.µã»÷תÏòÖ¸¶¨Ò³Ãæ
Response.Write(" <script>window.alrt('¸Ã»áԱûÓÐÌá½»ÉêÇë,ÇëÖØÐÂÌá½»£¡') </script>"); Response.Write(" <script>window.loation='http://www.cnblogs.com/kevin1031" target="_blank">http://www.cnblogs.com/kevin1031' </script>");
2.//µ¯³ö¶Ô»°¿ ......

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

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

asp.netÃæÊÔÌâ(2)

11.ÓÃ.net×öb/s½á¹¹µÄϵͳ£¬ÄúÊÇÓü¸²ã½á¹¹À´¿ª·¢£¬Ã¿Ò»²ãÖ®¼äµÄ¹ØÏµÒÔ¼°ÎªÊ²Ã´ÒªÕâÑù·Ö²ã£¿   
 
´ð£ºÒ»°ãΪ3²ã   
 
Êý¾Ý·ÃÎʲ㣬ҵÎñ²ã£¬±íʾ²ã¡£   
 
Êý¾Ý·ÃÎʲã¶ÔÊý¾Ý¿â½øÐÐÔöɾ²é¸Ä¡£   
 
ÒµÎñ²ãÒ»°ã·ÖΪ¶þ²ã£¬Ò ......

asp.netÃæÊÔÌâ(7)

101.ÔÚ.net£¨c# or vb.net£©ÖÐÈçºÎÈ¡ÏûÒ»¸ö´°ÌåµÄ¹Ø±Õ¡£   
 
´ð£ºprivate void form1_closing(object sender, system.componentmodel.canceleventargs e)   
 
{   
 
e.cancel=true;   
 
}     ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ