asp.net·¢²¼µ½ÍøÉϺóµÄÎÊÌâ¡ - .NET¼¼Êõ / ASP.NET
ÎÒÓÃasp.net×öµÄÍøÕ¾£¬ÆäÖÐÓÃGlobal.asax×öµÄÊÇ·ÃÎÊÁ¿µÄ¹¦ÄÜ£¬ÔÚ±¾»ú·¢²¼²âÊÔʱûÓÐÎÊÌ⣬µ«ÊÇ·¢²¼µ½ÍøÉÏÖ®ºó·¢ÏÖÎÒÿµãÍøÕ¾ÉϵÄÒ»¸öÁ´½ÓËüµÄ·ÃÎÊ×ÜÁ¿¶¼»á¼Ó1£¬ÕâÊÇÔõô»ØÊ£¿
»¹Óз¢²¼Ö®ºóÎÒ·ÃÎʺǫ́»á±¨Òì³££¬
¡° ¡®/¡¯Ó¦ÓóÌÐòÖеķþÎñÆ÷´íÎó¡£Î´½«¶ÔÏóÒýÓÃÉèÖõ½¶ÔÏóµÄʵÀý¡£ËµÃ÷: Ö´Ðе±Ç° Web ÇëÇóÆÚ¼ä£¬³öÏÖδ´¦ÀíµÄÒì³£¡£Çë¼ì²é¶ÑÕ»¸ú×ÙÐÅÏ¢£¬ÒÔÁ˽âÓйظôíÎóÒÔ¼°´úÂëÖе¼Ö´íÎóµÄ³ö´¦µÄÏêϸÐÅÏ¢¡£
Òì³£ÏêϸÐÅÏ¢: System.NullReferenceException: 佫¶ÔÏóÒýÓÃÉèÖõ½¶ÔÏóµÄʵÀý¡£
Ô´´íÎó:
Ö´Ðе±Ç° Web ÇëÇóÆÚ¼äÉú³ÉÁËδ´¦ÀíµÄÒì³£¡£¿ÉÒÔʹÓÃÏÂÃæµÄÒì³£¶ÑÕ»¸ú×ÙÐÅϢȷ¶¨ÓйØÒì³£ÔÒòºÍ·¢ÉúλÖõÄÐÅÏ¢¡£
¡±
¿ÉÊÇ´Ó±ðÈËÄÇÀï¾Í¿ÉÒÔ·ÃÎÊ£¬¸÷λ´óÏÀ¸æËßÎÒÕâÊÇΪʲô¡Ð»Ð»ÁË¡
ºǫ́ÓÐûÓÐÓÃʲô¿Ø¼þ£¿
´úÂëÌù³öÀ´¿´¿´£¬ÊǶÔÏóδ·ÖÅäÄÚ´æ¾ÍÒýÓÃÁË
²»ÖªµÀÊÇʲôÎÊÌ⣬µ«ÊDZðÈËÄÇÀïÄÜ·ÃÎÊ£¬¾ÍÎÒÕâÀï¾Í³ö´í¡¶øÇÒ·¢²¼µ½±¾»úʱ²âÊÔҲûÓгö´í¡
ÕâÎÊÌ⣬¹Ö¹ÖµÄ
´ó¼Ò±ð¹â¶¢ÏÂÃæµÄÄǸöÎÊÌ⣬ÉÏÃæ»¹ÓиöÎÊÌâÄØ¡Ð»Ð»£¬Ð»Ð»¡
<%@ Application Language="C#" %>
<script RunAt="server">
void Application_Start(object sender, EventArgs e)
{
System.Data.OleDb.OleDbConnection conn = new System.Data.OleDb.OleDbConnection(@"Provider=Microsoft.Jet.OleDb.4.0;Data Source=|DataDirectory|\\seaHorse.mdb;Persist Security Info=True");
conn.Open();
System.Data.OleDb.OleDbCommand cmd = new System.
Ïà¹ØÎÊ´ð£º
http://www.zgjhjy.com/Test/PrimaryTest/Index.aspx
¾ÍÊÇÀàËÆÒÔÉϵÄÔÚÏß²âÊÔϵͳ£¬ÐèÒªÓÐÒ»¸öºǫ́µÄ£¬ÓïÑÔÊÇaspµÄ£¬Êý¾Ý¿âÊÇaccessµÄ£¬»¹ÐèÒªÄÜÔÚºǫ́¶ÔÐÅÏ¢½øÐÐÌíɾ¸Ä²éµÄ¡£Ð»Ð»¸÷λÁË¡£¡£¡£
³ÌÐòÕæµÄºÜ¶à£¬²»Öª ......
ÓÐÒ»¸öÀà
class adc
{
dim a,b,c
}
ÈçºÎÔÚÁíÍâÒ»¸öÀàÖÐÈ¡µÃÀà³ÉÔ±¼°³ÉÔ±¸öÊý
class getmenber
{
dim menbers()
function getmenbers(resclass)
'resΪһδ֪Àà
'getmenber ......
ÎÒÓÃasp.net¿ª·¢wapÕ¾µã£¬Íê³ÉºóÈ¥http://validator.w3.org/ÕâÀïÑéÖ¤ÎÒµÄWapÒ³ÃæÊÇ·ñ±ê×¼£¬ÆäËüÎÊÌâ¶¼¸ÄºÃÁË£¬
¾ÍÊ£ÕâÒ»¸ö´íÎóÁË£¬°´×ÖÃæÒâ˼Àí½âÊÇ˵nameÊôÐÔÒÑ´æÔÚ£¬ÀàËÆÕâÑùµÄ´íÎó»¹Óв»ÄÜÓÃborder ,align,sizeµ ......
¾ÍÊÇÒ»¸ö°´Å¥£¬µã»÷Ö®ºó´ò¿ª¶Ô»°¿ò£¬È»ºóѡȡͼƬ¡£¾ÍÕâÑùÉÏ´«¡£¡£
ÔõôʵÏÖ¡£ÔÚÍøÉÏËѵ½ÄÇô¶àµÄ´úÂ룬ȫÊǺܶàµÄÄÇÖÖ£¬²»ÖªµÀ£¬¿´²»ÏÂÈ¥¡£
ËùÒÔÔÚÕâÀïÏëÇë´ó¸ç´ó½ã°ï°ïæ¡£
ʹÓÃ×Ô´øµÄfileupload¿Ø¼þ¿ÉÒÔʵÏÖ ......
´ó¼ÒºÃ£¬ÎÒÏÖÔÚÓÐÒ»¸öÓÃaspдµÄÁÄÌìÊÒ£¬ÏÖÔÚµÄÏëÌí¼ÓÒ»¸ö¹¦ÄÜ£¬¾ÍÊǵ±ÓÐÈËÉÏÏßµÄʱºò£¬·¢³öÌáʾ£¬±ÈÈçÉùÒôÏìһϣ¬ÏÖÔÚÏëÓÃjavaʵÏÖÕâ¸ö¹¦ÄÜ£¬ÇëÎÊ´ó¼ÒÔõôʵÏÖ£¿
ллÁË£¬ÎÒ»á¼Ó·ÖµÄ
aspºÍjavaÕûºÏµ½Ò»ÆðÈ¥£¿ºÎ±Ø ......