´òÓ¡¾Ö²¿Ò³Ãæ Asp.net ´òÓ¡¾Ö²¿Ò³Ãæ
´òÓ¡¾Ö²¿Ò³Ãæ
1. window.print(); ´òÓ¡
<!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><input class="NOPRINT" type="button" onclick="window.print()" value="print">
¼´¿ÉʵÏÖ´òÓ¡
Èç¹ûҪʵÏÖÒ³ÃæµÄ¾Ö²¿´òÓ¡£¬ÓÐÁ½ÖÖ°ì·¨
1).ÀûÓÃstyle£¬²»ÐèÒª´òÓ¡µÄµØ·½¶¼¼ÓÉÏ NoPrint Style
<!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--> <style media=print>
.Noprint{display:none;}
.PageNext{page-break-after: always;}
</style>
<asp:Panel ID="Panel1" Width=98% runat="server" CssClass ="NOPRINT">
..
</asp:Panel>
<table border="0" cellpadding="0" cellspacing="0" id="TABLE1" >
<tr class="NOPRINT">. </tr>
</table>
Èç¹ûʵÏÖ¶¯Ì¬´òÓ¡£¬¿ÉÒÔÓõ¯³ö¶Ô»°¿ò»òradioButtonÀ´¿ØÖÆÐèÒª¶¯Ì¬´òÓ¡µØ·½µÄ Class
<!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><TABLE Width="98%" align="center" cellspacing="0" border="1" style="border-collapse:collapse;">
<tr> </tr>
<tr> </tr>
<tr id="SignTR"> <!--¶¯Ì¬´òÓ¡²¿·Ö-->
<
Ïà¹ØÎĵµ£º
ÓкܾÃÒ»¶Îʱ¼äÎÒµÄBLOGÉÏûÓгöÏÖAJAXÏà¹ØѶϢÁË£¬Ö÷Òªµ±È»ÊÇÒòΪ¾ø´ó²¿·ÖµÄÖØÐĶ¼·Åµ½ÁËSilverlightÉíÉÏ(¿ÉÔ¤ÆÚµÄδÀ´Ó¦¸ÃÒ²»áÊÇÈç´Ë)¡£
µ«ÓÉÓÚ¹¤×÷ÉϵÄÐèÒª£¬×î½ü»¹ÊÇ»ØÍ·¿´ÁËһϼ´½«ÍƳöµÄASP.NET Ajax Library...£¬Ë³±ãÕÒÁËÒ»ÏÂÍøÂçÉϵÄѶϢ£¬¿´Õâ¸ö̬ÊÆÎÒ²ÂÏëÓ¦¸Ã²»ÉÙASP.NET¿ª·¢ÈËÔ±ºöÂÔµôÁËÕâ¸öÆäʵÒѾbet ......
Êý¾Ý¿â·ÃÎÊÐÔÄÜÓÅ»¯
¡¡¡¡Êý¾Ý¿âµÄÁ¬½ÓºÍ¹Ø±Õ
¡¡¡¡·ÃÎÊÊý¾Ý¿â×ÊÔ´ÐèÒª´´½¨Á¬½Ó¡¢´ò¿ªÁ¬½ÓºÍ¹Ø±ÕÁ¬½Ó¼¸¸ö²Ù×÷¡£ÕâЩ¹ý³ÌÐèÒª¶à´ÎÓëÊý¾Ý¿â½»»»ÐÅÏ¢ÒÔͨ¹ýÉí·ÝÑéÖ¤£¬±È½ÏºÄ·Ñ·þÎñÆ÷×ÊÔ´¡£ ASP.NETÖÐÌṩÁËÁ¬½Ó³Ø(Connection Pool)¸ÄÉÆ´ò¿ªºÍ¹Ø±ÕÊý¾Ý¿â¶ÔÐÔÄܵÄÓ°Ï졣ϵͳ½«Óû§µÄÊý¾Ý¿âÁ¬½Ó·ÅÔÚÁ¬½Ó³ØÖУ¬ÐèҪʱȡ³ö£¬¹Ø±ÕÊ ......
/// <summary>
/// HTML½âÂë
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public string HtmlDecode(string input)
&nb ......
1:a=10,b=15£¬ÔÚ²»ÓõÚÈý·½±äÁ¿µÄÇ°ÌáÏ£¬°Ña,bµÄÖµ»¥»»
2£ºÒÑÖªÊý×éint[] max={6,5,2,9,7,4,0};ÓÿìËÙÅÅÐòËã·¨°´½µÐò¶ÔÆä½øÐÐÅÅÁУ¬²¢·µ»ØÊý×é
3£ºÇë¼òÊöÃæÏò¶ÔÏóµÄ¶à̬µÄÌØÐÔ¼°ÒâÒ壡
4£ºsessionϲ»¶¶ªÖµÇÒÕ¼Äڴ棬Cookis²»°²È«£¬ÇëÎÊÓÃʲô°ì·¨´úÌæÕâÁ½ÖÖÔʼµÄ·½·¨
5£º¶ÔÊý¾ÝµÄ²¢·¢²ÉÓÃʲô°ì·¨½øÐд¦Àí½ÏºÃ¡£
6 ......
//»ñÈ¡µ±Ç°½ø³ÌµÄÍêÕû·¾¶£¬°üº¬ÎļþÃû(½ø³ÌÃû)¡£
string str = this.GetType().Assembly.Location;
result: X:\xxx\xxx\xxx.exe (.exeÎļþËùÔÚµÄĿ¼+.exeÎļþÃû)
//»ñÈ¡Ð嵀 Process ×é¼þ²¢½«ÆäÓ뵱ǰ»î¶¯µÄ½ø³Ì¹ØÁªµÄÖ÷Ä£¿éµÄÍêÕû·¾¶£¬°üº¬ÎļþÃû(½ø³ÌÃû)¡£
s ......