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

ASP.NET×Ô¶¨Òå´íÎó´¦ÀíÒ³ÃæµÄÌí¼Ó

asp.net×Ô¶¨Òå´íÎó´¦ÀíÒ³Ãæ·½·¨Ò»
1¡¢Ìí¼ÓWeb.config£¬ < system.web>< /system.web>ÖÐÌí¼Ó< customErrors mode="On"
defaultRedirect="ApplicationErroy.aspx" >< /customErrors>½Úµã£¬
2¡¢Ìí¼Ó´íÎó´¦ÀíÒ³Ã棺ApplicationErroy.aspxµ÷ÓÃÏÂÃæµÄ·½·¨£º
private void DealErroy()       {           HttpException erroy = new HttpException();          string strCode = erroy.ErrorCode.ToString();          string strMsg = erroy.Message;           erroy.HelpLink = "sss";           Response.Write("ErrorCode:" + strCode + "< br>");           Response.Write("Message:" + strMsg + "< br>");           Response.Write("HelpLink:" + erroy.HelpLink + "< br>");           Response.Write("Source:" + erroy.Source + "< br>");           Response.Write("TargetSite:" + erroy.TargetSite + "< br>");           Response.Write("InnerException:" + erroy.InnerException + "< br>");           Response.Write("StackTrace:" + erroy.StackTrace + "< br>");           Response.Write("GetHtmlErrorMessage:" + erroy.GetHtmlErrorMessage() + "< br>");           Response.Write("erroy.GetHttpCode().ToString():" + erroy.GetHttpCode().ToString() + "< br>");           Response.Write("erroy.Data.ToString()::" + erroy.Data.ToString() + "< br>");       }
ÕâÖÖ·½·¨²»


Ïà¹ØÎĵµ£º

ASP.NET


      AdRotator Web ·þÎñÆ÷¿Ø¼þ¿ÉÓÃÓÚÏÔʾÁ´½Óµ½ÆäËûÒ³µÄͼÐΡ£ÒªÏÔʾµÄͼÐÎÁбíºÍ¹ØÁªµÄÄ¿±êÁ´½Ó½«±£ÁôÔÚÊý¾ÝÔ´ÖУ¬Èç XML Îļþ»òÊý¾Ý¿â¡£
 
1¡¢·½°¸
AdRotator Web ·þÎñÆ÷¿Ø¼þÌṩһÖÖÔÚ ASP.NET ÍøÒ³ÉÏÏÔʾ¹ã¸æµÄ·½·¨¡£¸Ã¿Ø¼þ¿ÉÏÔʾÄúÌṩµÄ .gif Îļþ»òÆäËûͼÐÎͼÏñ¡£µ±Óû§µ¥»÷¹ ......

IIS7ÉÏASP.net V1.1µÄÅäÖÃÏê½â ÊÊÓÃ(Vista£¬win 7)

 ÏµÍ³»·¾³:
Ê×ÏȺͻúÆ÷Ó²¼þÎÞ¹Ø,ÕâÊÇVista°æµÄ½Ì³Ì,Ö»ÒªÄãµÄ»úÆ÷ÄÜÔËÐÐVista,OK,Ч¹ûÒ»Ñù.
Vista°æ±¾:Ultimate Ò²½ÐVistaÆì½¢°æ
ϵͳ״̬:È«ÐÂ,ÒÑ°²×°IIS
×¢Òâ:VistaĬÈÏÇé¿ö²¢Î´°²×°IIS,¿ÉÒÔÔÚ¿ØÖÆÃæ°åÀïÑ¡°²×°IIS,Õâ¸öÈç¹ûÓÐÎÊÌâµ¥¶ÀÁªÏµÎÒ,½ñÌì²»½²Ëü.
----------------------------------------------------- ......

¹¦ÄÜÇ¿´óµÄASP.NETľÂí

´ËľÂíдÁËÒ»¶Îʱ¼äÁË,д³öÀ´¾õµÃ×Ô¼º¶Ô.netÓÐÁ˸ü¶àµÄÈÏʶ,µ±È»Ö÷ÒªÊÇѧϰµ½Á˺ܶà֪ʶ.ËùÒÔ¸öÈ˸оõѧϰ±à³Ì×îºÃµÄ;¾¶¾ÍÊÇ´ø×ÅÏîĿȥѧϰ,ÅäºÏ°Ù¶È,googleÈ¥½â¾öÎÊÌâ. ºÇºÇ ÅÅ°æ±È½Ï³óª,¹¦ÄÜʵÓþͺÃ. ºÃÁË,ÏÖÔÚ·¢²¼´ËľÂí
1.µÇ½½çÃæ:
2. Ö÷Ìå½çÃæ
3. ¸÷¹¦ÄÜÄ£¿é
°Ù¶ÈÏÂÔصØÖ·: http://www.baidu.com/s? ......

ASP.NET GridViewÖеã»÷ɾ³ýµ¯³öÌáʾ

 Ê×ÏÈÌí¼ÓÒ»¸öÄ£°åÁУ¬ÄÚÈÝÈçÏÂ
 <asp:TemplateField HeaderText="²Ù×÷">
       <ItemTemplate>
            <div onclick="return confirm('ÄúÈ·¶¨ÒªÉ¾³ýÂð£¿')">
      ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ