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

ÔÚ ASP.NET ÍøÒ³Öв»¾­¹ý»Ø·¢¶øʵÏÖ¿Í»§¶Ë»Øµ÷

ÔÚ ASP.NET ÍøÒ³Öв»¾­¹ý»Ø·¢¶øʵÏÖ¿Í»§¶Ë»Øµ÷
ÔÚ ASP.NET ÍøÒ³µÄĬÈÏÄ£ÐÍÖУ¬Óû§»áÓëÒ³½»»¥£¬µ¥»÷°´Å¥»òÖ´Ðе¼Ö»ط¢µÄһЩÆäËû²Ù×÷¡£´Ëʱ½«ÖØд´½¨Ò³¼°Æä¿Ø¼þ£¬²¢ÔÚ·þÎñÆ÷ÉÏÔËÐÐÒ³´úÂ룬ÇÒа汾µÄÒ³±»³ÊÏÖµ½ä¯ÀÀÆ÷¡£µ«ÊÇ£¬ÔÚÓÐЩÇé¿öÏ£¬ÐèÒª´Ó¿Í»§¶ËÔËÐзþÎñÆ÷´úÂ룬¶ø²»Ö´Ðлط¢¡£Èç¹ûÒ³ÖеĿͻ§¶Ë½Å±¾Î¬»¤Ò»Ð©×´Ì¬ÐÅÏ¢£¨ÀýÈ磬¾Ö²¿±äÁ¿Öµ£©£¬ÄÇô·¢ËÍÒ³ºÍ»ñÈ¡Ò³µÄи±±¾¾Í»áË𻵸Ã״̬¡£´ËÍ⣬ҳ»Ø·¢»áµ¼Ö´¦Àí¿ªÏú£¬Õâ»á½µµÍÐÔÄÜ£¬ÇÒ»áÈÃÓû§²»µÃ²»µÈ´ý´¦Àí²¢ÖØд´½¨Ò³¡£
ÈôÒª±ÜÃⶪʧ¿Í»§¶Ë״̬²¢ÇÒ²»µ¼Ö·þÎñÆ÷Íù·µµÄ´¦Àí¿ªÏú£¬¿ÉÒÔ¶Ô ASP.NET ÍøÒ³±àÂ룬ʹÆäÄÜÖ´Ðпͻ§¶Ë»Øµ÷¡£ÔÚ¿Í»§¶Ë»Øµ÷ÖУ¬¿Í»§¶Ë½Å±¾º¯Êý»áÏò ASP.NET ÍøÒ³·¢ËÍÒ»¸öÇëÇ󡣸ÃÍøÒ³ÔËÐÐÆäÕý³£ÉúÃüÖÜÆÚµÄÐ޸İ汾 — ³õʼ»¯Ò³²¢´´½¨Æä¿Ø¼þºÍÆäËû³ÉÔ±£¬È»ºóµ÷ÓÃÌرð±ê¼ÇµÄ·½·¨¡£¸Ã·½·¨Ö´ÐдúÂëÖбàдµÄ´¦Àí¹ý³Ì£¬È»ºóÏòä¯ÀÀÆ÷·µ»Ø¿ÉÓÉÁíÒ»¿Í»§¶Ë½Å±¾º¯Êý¶ÁÈ¡µÄÖµ¡£Ôڴ˹ý³ÌÖУ¬¸ÃҳһֱפÁôÔÚä¯ÀÀÆ÷ÖС£
Óм¸¸ö Web ·þÎñÆ÷¿Ø¼þʹÓÿͻ§¶Ë»Øµ÷¡£ÀýÈ磬TreeView ¿Ø¼þʹÓÿͻ§¶Ë»Øµ÷ʵÏÖÆä¼´ÐèÌî³ä¹¦ÄÜ¡£Óйظü¶àÐÅÏ¢£¬Çë²Î¼û TreeView Web ·þÎñÆ÷¿Ø¼þ¸ÅÊö¡£
¿Í»§¶Ë»Øµ÷×é¼þ
´´½¨ÊµÏÖ¿Í»§¶Ë»Øµ÷µÄ ASP.NET Ò³Óë´´½¨ÈκΠASP.NET Ò³ÀàËÆ£¬µ«Ò²ÓÐÈçÏÂÕâЩÇø±ð¡£Ò³µÄ·þÎñÆ÷´úÂë±ØÐ룺
ʵÏÖ ICallbackEventHandler ½Ó¿Ú¡£¿ÉÒÔÏòÈκΠASP.NET ÍøÒ³Ìí¼Ó´Ë½Ó¿ÚÉùÃ÷¡£
Ìṩ RaiseCallbackEvent ·½·¨µÄʵÏÖ¡£´Ë·½·¨½«±»µ÷ÓÃÒÔ¶Ô·þÎñÆ÷Ö´Ðлص÷¡£
Ìṩ GetCallbackResult ·½·¨µÄʵÏÖ¡£´Ë·½·¨»á½«»Øµ÷½á¹û·µ»Ø¸ø¿Í»§¶Ë¡£
´ËÍ⣬¸ÃÒ³»¹±ØÐë°üº¬Ö´ÐÐÒÔϲÙ×÷µÄÈý¸ö¿Í»§¶Ë½Å±¾º¯Êý£º
Ò»¸öº¯Êýµ÷ÓðïÖúÆ÷·½·¨£¬¸Ã·½·¨Ö´ÐжԷþÎñÆ÷µÄʵ¼ÊÇëÇó¡£Ôڴ˺¯ÊýÖУ¬¿ÉÒÔÊ×ÏÈÖ´ÐÐ×Ô¶¨ÒåÂß¼­ÒÔ×¼±¸Ê¼þ²ÎÊý£¬È»ºó¿ÉÒÔ½«Ò»¸ö×Ö·û´®×÷Ϊ²ÎÊý·¢Ë͵½·þÎñÆ÷¶Ë»Øµ÷ʼþ´¦Àí³ÌÐò¡£
ÁíÒ»¸öº¯ÊýÓÉ´¦Àí»Øµ÷ʼþµÄ·þÎñÆ÷´úÂëµÄ½á¹ûµ÷Óò¢½ÓÊոýá¹û£¬Í¬Ê±½ÓÊܱíʾ¸Ã½á¹ûµÄ×Ö·û´®¡£¸Ãº¯Êý³ÆΪ¿Í»§¶Ë»Øµ÷º¯Êý¡£
µÚÈý¸öº¯ÊýÊÇÖ´ÐжԷþÎñÆ÷µÄʵ¼ÊÇëÇóµÄ Helper º¯Êý£¬µ±ÔÚ·þÎñÆ÷´úÂëÖÐʹÓà GetCallbackEventReference ·½·¨Éú³É¶Ô´Ëº¯ÊýµÄÒýÓÃʱ£¬ÓÉ ASP.NET ×Ô¶¯Éú³É¸Ãº¯Êý¡£
¿Í»§¶Ë»Øµ÷¼°»Ø·¢¶¼ÊǶÔÆðʼҳµÄÇëÇó£¬Òò´ËÔÚ Web ·þÎñÆ÷ÈÕÖ¾Öн«¿Í»§¶Ë»Øµ÷¼°»Ø·¢¼Ç¼ΪҳÇëÇó¡£
ÔÚ·þÎñÆ÷´úÂëÖÐʵÏÖºÏÊʵĽӿÚ
ÈôÒª´Ó¿Í»§¶Ë³É¹¦ÔËÐзþÎñÆ÷´úÂë¶ø²»Ö´Ðлط¢£¬Ôò±ØÐëÔÚ·þÎñÆ÷´úÂëÖÐʵÏÖºÏÊʵĽӿڡ£
ÉùÃ


Ïà¹ØÎĵµ£º

ASP.NET ÅжÏÍøÒ³±àÂë¶ÁÈ¡ÄÚÈÝ£¬·ÀÖ¹ÂÒÂë

×î½üҪдһ¸öÔÚÍøÒ³ÖвéÕҹؼü×Ö¼°Á´½ÓµÄ³ÌÐò£¬ÔÚÊä³öµ½TextBoxµÄʱºò·¢ÏÖ¾­³£³öÏÖÂÒÂ룬ÕûÀíÁËһϸù¾Ý²»Í¬µÄ±àÂëÑ¡È¡ÍøÒ³Ô´Îļþ£¬Ä¿Ç°¿ÉÒÔ½â¾ö¼¸ÖÖ³£±àÂ뷽ʽµÄÍøÒ³£¬¸ÐÐËȤµÄ¿ÉÒÔÊÔÏ¡£
±¾À´ÏëÓÓ£½£½”ÅжϱàÂ룬¸Ð¾õ±È½ÏÂé·³£¬ËùÒÔ¸ÄÓñȽÏÄ£ºýµÄ·½·¨£¬ContainsÓÃÔÚÕâÀïͦ·½±ãµÄ¡£
Contains˵Ã÷£º¾ÍÊÇ·µ» ......

ASP.NETʵÏÖÔöɾ¸Ä²éµÈ¹¦ÄÜ(Access°æ)ϵͳ֮ËÄ É¾³ý

//¸ù¾ÝÖ÷¼üÀ´É¾³ý±íÖеÄÊý¾Ý¡£
//ɾ³ý
    protected void GridView1_RowDeleting(object sender, GridViewDeleteEventArgs e)
    {
        OleDbConnection sqlConnection = new OleDbConnection(GetConnection());
 
   & ......

ASP.NET 2.0»º´æ

Ò»¡¢Ò³Êä³ö»º´æ
1.ÉèÖÃ ASP.NET
Ò³»º´æµÄÁ½ÖÖ·½Ê½
1.1
ÒÔÉùÃ÷·½Ê½ÉèÖà ASP.NET Ò³µÄ»º´æ
ÒÔÉùÃ÷·½Ê½ÉèÖà ASP.NET
Ò³µÄ»º´æµÄ·½·¨ÊÇÔÚÒ³ÖÐʹÓà @ OutputCache Ö¸ÁËüµÄ³£ÓÃÊôÐÔÈçÏ£º
³ÌÐò´úÂë
<%@ OutputCache Duration="" VaryByParam=""
VaryByControl="" VaryByHeader ......

Asp.NET»ñÈ¡Îļþ¼°Æä·¾¶


¡¾Ïà¶Ô·¾¶¡¿
Request.ApplicationPath
/src
Path.GetDirectoryName(HttpContext.Current.Request.RawUrl )
\\src\\Xiaoshe
Context.Request.Path
/src/Xiaoshe/Xiaoshe_New.aspx
Context.Request.CurrentExecutionFilePath
/src/Xiaoshe/Xiaoshe_New.aspx
Context.Request.FilePath
/src/Xiaoshe/Xiaoshe ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ