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

¹ØÓÚASP.NETÒ³Ãæ´òÓ¡¼¼ÊõµÄ×ܽá

ÍøÂç´òÓ¡¸ÅÊö
• B/S½á¹¹µ¼ÖÂÁËWebÓ¦ÓóÌÐòÖдòÓ¡µÄÌØÊâÐÔ¡£
• ³ÌÐòÔËÐÐÔÚä¯ÀÀÆ÷ÖУ¬´òÓ¡»úÔÚ±¾µØ£¬¶øÎļþÈ·¿ÉÄÜÔÚ·þÎñÆ÷ÉÏ£¬µ¼ÖÂÁË´òÓ¡¿ØÖÆ
²»ÊǺÜÁé»î¡£
• ¸ñʽÈçºÎ¿ØÖƺͶ¨ÖƵȣ¬ÊÇÎÒÃÇ¿ª·¢ÖпÉÄÜ»áÃæ¶ÔµÄÎÊÌâ¡£
´òÓ¡ÎĵµµÄÉú³É
• 1¡¢¿Í»§¶Ë½Å±¾·½Ê½
Ò»°ãÇé¿öÏ£¬Ö÷ҪʹÓÃJS ¿ÉÒÔ·ÖÎöÔ´Ò³ÃæµÄÄÚÈÝ£¬½«Óû´òÓ¡µÄÒ³ÃæÔªËØÌáÈ¡³öÀ´£¬ÊµÏÖ´òÓ¡¡£Í¨¹ý·ÖÎöÔ´ÎĵµµÄÄÚÈÝ£¬¿ÉÒÔÉú³É´òÓ¡Ä¿±êÎĵµ¡£
Óŵ㣺¿Í»§¶Ë¶ÀÁ¢Íê³É´òÓ¡Ä¿±êÎĵµµÄÉú³É£¬¼õÇá·þÎñÆ÷¸ººÉ£»
ȱµã£ºÔ´ÎĵµµÄ·ÖÎö²Ù×÷¸´ÔÓ£¬²¢ÇÒÔ´ÎĵµÖеĴòÓ¡ÄÚÈÝÒªÓÐÔ¼¶¨¡£
• 2¡¢·þÎñÆ÷¶Ë³ÌÐò·½Ê½
ÀûÓúǫ́´úÂë´ÓÊý¾Ý¿âÖжÁÈ¡´òÓ¡Ô´£¬Éú³É´òÓ¡Ä¿±êÎĵµ¡£µ±µÄÒ³ÃæÉú³Éʱ£¬»¹Ó¦Êʵ±¿¼ÂÇʹÓÃCSS À´ÊµÏÖÇ¿ÖÆ·ÖÒ³¿ØÖÆ¡£
Óŵ㣺¿ÉÒÔÉú³ÉÄÚÈݷdz£·á¸»µÄ´òÓ¡Ä¿±êÎĵµ£¬Ä¿±êÎĵµµÄÄÚÈݵĿɿØÐÔÇ¿¡£ÓÉÓÚ´òÓ¡ÄÚÈÝÊÇ´ÓÊý¾Ý¿âÖлñÈ¡µÄ£¬ËùÒÔÉú³É²Ù×÷Ïà¶Ô¼òµ¥£»
ȱµã£º·þÎñÆ÷¶Ë¸ºÔرȽϴó£»
Ò³ÃæÉèÖÃ
• Ò³ÃæÉèÖÃÖ÷ÒªÊÇÖ¸ÉèÖôòÓ¡ÎĵµµÄÒ³±ß¾à¡¢Ò³Ã¼¡¢Ò³½Å¡¢Ö½ÕŵÈÄÚÈÝ¡£Ò³ÃæÉèÖý«Ö±½ÓÓ°Ïìµ½´òÓ¡Îĵµ°æÃæµÄÉú³ÉЧ¹û£¬ËùÒÔËüºÍ´òÓ¡ÎĵµµÄÉú³ÉÓÐ×ÅÃÜÇеĹØϵ¡£±ÈÈ磺±í¸ñµÄÐÐÊý¡¢´óС¡¢Î»Öá¢×ÖÌåµÄ´óСµÈ¡£
ÏÖÓеļ¼ÊõÊÇÀûÓÃIE6.0 ÄÚÖõĴòÓ¡Ä£°å·½Ê½À´¿ØÖÆÒ³ÃæÉèÖã¬Æä¿ÉÒÔ¶Ô´òÓ¡Ä¿±êÎĵµ²úÉú·Ç³£´óµÄÓ°Ïì¡£´òÓ¡Ä£°å¿ÉÒÔ¿ØÖÆÒ³±ß¾à¡¢Ò³Ã¼¡¢Ò³½Å¡¢ÆæżҳµÈÄÚÈÝ£¬²¢¿ÉÒÔ½«Óû§µÄÉèÖÃÈ¡µÃ£¬»¹¿ÉÒÔ½«ÉèÖ÷¢Ë͵½·þÎñÆ÷¶Ë¡£´òÓ¡Ä£°å¼¼Êõ¿ÉÒÔ×Ô¶¨Ô¤ÀÀ´°¿ÚºÍ´òÓ¡¸ñʽ£¬×î´óÏ޶ȵØÓ°ÏìÄ¿±êÎĵµºÍ´òӡЧ¹û¡£
IEÖ±½Ó´òÓ¡
• ¼´Ö±½Óµ÷ÓÃwindow.print»òÕßwebrower¿Ø¼þµÄExecWB·½·¨À´´òÓ¡¡£
• Óŵ㣺·½±ã¿ì½Ý£¬¿Í»§¶ËÎÞÐèÈκÎÉèÖü´¿É¡£
• ȱµã£º´òÓ¡¿ØÖƲ»ÊǺÜÁé»î¡£Èç¹ûÖ±½Óµ÷ÓÃ
window.printÀ´´òÓ¡Ò³Ã棬ҳÃæÉϱðµÄÔªËØÒ²»á±»´òÓ¡´¦Àí£¬Ò³Í·Ò³Î²µÄ¸ñʽҲ²»ºÃ¿ØÖÆ¡£
• ³£Ó÷½·¨£º´ó²¿·ÖÇé¿ö»á°Ñ²éѯµÄ½á¹û°ó¶¨µ½DataGridÉÏÀ´£¬È»ºó´òÓ¡DataGrid¡£ÕâÖÖÇé¿öµÄ´òÓ¡Ò»°ãÀ´Ëµ¸ñʽ±È½Ï¹Ì¶¨¼òµ¥£¬È·¶¨ºó»ù±¾²»»áÔÙ×÷¸ü¸Ä¡£ËùÒÔ¿ÉÒÔ²ÉÓÃIEÖ±½Ó´òÓ¡¡£
¡¾ÊµÀý´úÂë¡¿
×¢£º¢ÙÕâÊÇ¿Í»§¶Ëͨ¹ýwindow.print´òÓ¡Ö¸¶¨ÄÚÈÝ¡£ÕâÀﶨÒåsprnstrºÍeprnstrÀ´Ö¸¶¨ÄÚÈÝ
     Ö´ÐдúÂ룺
    input type="button" name="print" value="Ô¤ÀÀ²¢´òÓ¡" onclick="preview()">
     ¢ÚÈç¹ûÖ±½ÓʹÓÃwindow.print½«´òÓ¡Ò³ÃæÉϵÄ


Ïà¹ØÎĵµ£º

ASP.NETÍøÕ¾½¨ÉèÖ®´úÂë·ÖÀë

ÔÚÎÒÃÇ´«Í³µÄÍøÕ¾½¨ÉèÖÐͨ³£ÊÇÏÈÉè¼ÆÍøÕ¾Ò³Ã棬ÔÙÀûÓÿª·¢¹¤¾ß£¬ÔÚÍøÕ¾µÄ¿ò¼ÜÄÚ½øÐй¦ÄÜÉè¼Æ¡£ÕâÑùµÄÍøÕ¾½¨Éè´æÔںܶà±×¶Ë£¬ÆäÖÐ×îÍ»³öµÄȱµãÊDz»ÀûÓÚС×鹲ͬ¿ª·¢£¬¸÷»·½ÚÖ®¼äÒÀÀµÐÔÌ«Ç¿¡£
ÔÚASP.NETÖÐÎÒÃÇ¿ÉÒÔÀûÓúǫ́±àÂ룬°ÑHTMLÓû§½çÃæÉè¼Æ£¨ÑÕÉ«¡¢ÃÀѧµÈ£©ÓëÒ³Ãæ´úÂëÇø·Ö¿ªÀ´¡£ÕâÑù¾Í¿ÉÒÔ½â¾öÎÒÃÇС×éµÄ²¢Ðпª·¢ÎÊ ......

Asp.net Ajax webserviceʱ¼ä´Á

  ÔÚʹÓÃAJAX½øÐгÌÐò¿ª·¢µÄʱºò£¬Ò»Ö±¶¼»áÃæ¶ÔÒ»¸ö»º´æµÄÎÊÌ⣡£¡
¼´ÊÇ£¬ÉÏ´ÎÇëÇóµÄʱºò£¬ÒòΪÄãµÄSQLÓï¾ä»òÕßÆäËûÔ­Òò£¬webserviceÖзµ»ØֵΪ¿Õ£¬²»ÊÇÄãÏëÒªµÄ½á¹û¼¯£¬ÔÚÄã·¢ÏÖwebserviceÖÐÓï¾äÌå³ö´íºó£¬½øÐÐÐ޸ģ¬ÖØвâÊÔ£¬ÈÔÈ»ÊÇÉϴεķµ»Ø½á¹û£¡¸Ð¾õ¾ÍÏñÄãµÄÐÞ¸ÄÍêÈ«ÎÞЧ¡£¡£
   Æäʵ£¬ÕâÊÇÔÚAJAXµ ......

Asp.net ´òÓ¡web ÍøÒ³ ÈçºÎ²»ÏÔʾ ÍøÖ· Ò³Âë


1.¶ÔIEä¯ÀÀÆ÷½øÐÐÉèÖÃ
 Îļþ-¡µÒ³ÃæÉèÖÃ-¡µ½«ÀïÃæµÄҳüºÍÒ³½ÅµÄÄÚÈÝÇå¿Õ ¾ÍOKÁË
2.Ò³Ãæ´úÂëʵÏÖ Javascript
<!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><!--  & ......

ASP.NET"ÕýÔÚÖÐÖ¹Ïß³Ì"´íÎóÔ­Òò

PRB£ºÔÚʹÓà Response.End¡¢Response.Redirect »ò Server.Transfer ʱ³öÏÖ ThreadAbortException
Ö¢×´
Èç¹ûʹÓà Response.End¡¢Response.Redirect »ò Server.Transfer ·½·¨£¬½«³öÏÖ ThreadAbortException Òì³£¡£Äú¿ÉÒÔʹÓà try-catch Óï¾ä²¶»ñ´ËÒì³£¡£
Ô­Òò
Response.End ·½·¨ÖÕÖ¹Ò³µÄÖ´ÐУ¬²¢½«´ËÖ´ÐÐÇл»µ½Ó¦ÓóÌÐò ......

asp.net ¿ª·¢³£Óõķ½·¨¶þ

asp.net ¿ª·¢Öг£ÓõÄһЩ·½·¨×ܽáËäȻдµÄ²»ºÃ,µ«ºÜʵÓÃ
using System;
using System.Collections.Generic;
using System.Text;
using System.Web;
using System.Net;
using System.Text.RegularExpressions;
using System.Web.UI;
using System.Web.SessionState;
using System.Web.UI.WebControls;
using Syst ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ