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

asp.netÖм¸ÖÖ³£¼ûµÄ´íÎó´¦Àí·½·¨

<Ò»>Ò³Ã漶µÄ´íÎó´¦Àí
void Page_Error(Object sender, EventArgs e) {
     String message = "<font face=verdana color=red>"
                           + "<h4>" + Request.Url.ToString() + "</h4>"
                           + "<pre><font color='red'>" + Server.GetLastError().ToString() + "</pre>"
                           + "</font>";
     Response.Write(message);
     Server.ClearError();
}
<¶þ>Ó¦ÓóÌÐò¼¶µÄ´íÎóʼþÖУ¬´íÎó´¦Àí·½Ê½ÈçÏ£ºglobal.asaxÎļþÖеÄapplication_errorÖÐÌí¼Ó´¦Àí Âß¼­£¬¿ÉÌí¼ÓÆäËü²Ù×÷£¬ÈçдÈëwindowsʼþÈÕÖ¾£¬·¢Óʼþ¸ø¹ÜÀíÔ±£¬½«´íÎóÐÅϢдÈëÊý¾Ý¿â¡£¾ßÌåÈçÏ£º
protected void Application_Error(Object sender, EventArgs e)
        {
             String Message = "\n\nURL:\n http://localhost/" + Request.Path
                + "\n\nMESSAGE:\n " + Server.GetLastError().Message
                + "\n\nSTACK TRACE:\n" + Server.GetLastError().StackTrace;
            //дÈëwindowsʼþÈÕÖ¾
             String LogName = "Application";
            if (!EventLog.SourceExists(LogName))
           


Ïà¹ØÎĵµ£º

ASP.NETÍøÕ¾ÓëDiscuz!NTÂÛ̳ÕûºÏ

²½Öè1£º
ÒýÈë5¸öDLLµ½ÏîÄ¿ÖÐ
·Ö±ðÊÇ
using Discuz.Common;
using Discuz.Forum;
using Discuz.Config;
using Discuz.Entity;
using Discuz.Data;
²½Öè2£º 
   public class Discuz_NT
    {
        public static ArrayList Login(string us ......

ASP.NETµÄ»º´æ

ÎÒÃÇÖªµÀÒ»¸öÍøÕ¾ÔÚ·ÃÎÊÁ¿¾Þ´óµÄʱºò£¬Èç¹ûÄÜʹÓûº´æ¼¼Êõ£¬¿ÉÒÔÃ÷ÏÔ½µµÍÍøÕ¾µÄ·ÃÎʸºµ££¬ËùÒÔ·Ï»°²»¶à˵£¬ÎÒÃÇÀ´¿´Ò»ÏÂÔÚASP.NETÖÐÈçºÎÄÜʵÏÖ»º´æ¡£
Ê×ÏÈÓ¦¸ÃÇå³þµÄÊÇ£¬ÔÚASP.NETÖУ¬ÓÐÁ½À໺´æ¿ÉÒÔʹÓ㬵ÚÒ»ÀàÊÇÊä³ö»º´æ£¬µÚ¶þÀàÊÇÊý¾Ý»º´æ¡£
Êä³ö»º´æµÄͨË×½âÊ;ÍÊÇ£¬¾ÍÊÇÎÒÃÇ°Ñij¸ö±»·ÃÎʵÄÒ³ÃæÔÚÓû§·ÃÎÊʱÔÝʱÉú³É ......

ASP.NET ¿ª·¢ÖªÊ¶Ð¡½á£¨James Li£©

×öÁ˼¸ÄêµÄASP.NET,»ýÀÛÁ˲»ÉÙС¼¼ÇÉ¡£µ«ÊǼ¼ÇÉÖ»ÊʺÏÓÚÌض¨µÄ»·¾³£¬»¹²»Èç¼ÓÇ¿¶Ô»ù´¡ÖªÊ¶µÄÀí½âÓëÔËÓá£ÏÂÃæÊÇÎÒµÄÒ»µãÌå»á£¬Óë´ó¼Ò·ÖÏí¡£
1 ĸ°æÒ³
Õâ¸ö¿Ø¼þ¿ÉÒÔʹÎÒÍü¼ÇhtmlµÄiframeÖ®ÀàµÄÒ³Ãæ¿ò¼Ü·½°¸,»¹ÓÐframeset.
asp¿ª·¢Öл¹Ö§³Ö<#include file=”head.asp>
ÏÖÔÚÓÐĸ°æÒ³¿ÉÒÔÇáËɵÄÒÔ.NETµÄ·½Ê½ ......

AJAXµ÷Óà ASP.net ±¾µØÎļþϵͳµÄ¹ÖÎÊÌâ

×î½ü¿ª·¢ExtÓ¦Óã¬Ê¹ÓÃajaxÇëÇóÊý¾Ýʱ£¬Óöµ½ÁËÇëÇóÊý¾ÝÒÔ·µ»Ø£¬µ«IEÀïÈ´ÎÞ·¨ÏÔʾµÄ¹ÖÎÊÌâ¡£
ʹÓÃHTTPWatch²é¿´£¬·¢ÏÖERROR_INTERNET_CONNECTION_RESET¡£
ʹÓÃFireFoxºÍgoogleä¯ÀÀÆ÷¶¼Ã»ÓÐÎÊÌ⣬ÍøÉϲéÕÒ˵ÍøÕ¾·ÅÔÚIISÉÏûÓÐÎÊÌ⣬ÊÔÑéºóÖ¤Ã÷ÓÐЧ¡£
µ«Í¬Ê¿ª·¢Óûú´ó²¿·Ö¶¼ÊÇXPϵͳ£¬Óв¿·Ö»¹ÊÇHOME°æ£¬Òò´Ë¸ÃÎÊÌâ±ØÐëÕÒµ ......

ѧϰASP.NETÐèÇóµÄ»ù±¾µÄc#֪ʶ£¨×ªÌû+ÒÑÐ޸ģ©

£¨±¸×¢£ºÎÄÖкìÉ«×ÖÌåÊÇÎÒÔÚÔ­ÎĵĻù´¡ÉÏÌí¼ÓµÄ½âÊÍ˵Ã÷£©
 Î¢ÈíµÄʵÀý½Ì²ÄÖн²ÁËÈýÖÖÓïÑÔ£ºc#¡¢vb   ¡¢Jscript£¬ÎªÁËÈôó¼Ò¹ýÒ»°Ñж«Î÷ñ«£¬ÎÒÃÇ»¹ÊÇѧc#°É¡£Õâ¸ö×îºÃÓÐÒ»µãc++»ù´¡¡£    
  ²»¹ýûÓÐҲûÓйØϵ£¬´ó²»Á˶à·ÑµãÁ¦ÁË¡£    
  ÈκÎÒ»ÃÅÓ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ