ÔõÑù½«ASP³ÌÐòת»»Îª.NET³ÌÐò ? - .NET¼¼Êõ / ASP.NET
ÔõÑù½«ASP³ÌÐòת»»Îª.NET³ÌÐò ?
ÕÒ¸öÈ«²Å·Òë¡£
ÊÖ¶¯È¥Ð´
¸Ð¾õд¹ýaspµÄ£¬À´Ð´asp.net£¬ÉÏÊÖÓ¦¸Ã¿ìµã¡£
¸üÄÜÀí½âasp.netµÄһЩÄÚ²¿¼¼Êõ
asp.net¶¼±»·â×°ÁË
ÎÒÊÇ×ö.NetµÄ£¬¶ÔASPһֱû½Ó´¥µ½£¬ºÜÄ°Éú¡£
¹«Ë¾ÓиöAspµÄÏîÄ¿½ÐÎÒ¸Äд³É.Net¿ò¼ÜµÄ¡£
ÔõÑù¸Ä²Å¿Æѧ£¬¸ßЧ£¡
¸÷λ¸ßÊÖÃÇ£¬Çë°ï°ï棬лл£¡
»ù±¾ÉϵÃÖØÐÂдһ±éÁË,Á½¸ö²î±ð»¹ÊǺܴóµÄ.
Ó¦¸Ã¿ÉÒÔת»¯¹ýÈ¥µÄ.¶ÔÓ¦µÄÓïÑÔΪvb
Õâ¸öÓÐʲô¸ÄдµÄ¡£¡£asp ʵÏÖʲô¹¦ÄÜ£¬£¬Äã¾ÍÓÃ.netʵÏÖ²»¾ÍÐÐÁË£¬ÓÖ²»ÊÇÓ¢Ò뺺
aspºÍasp.net¸ù±¾²»ÊÇÒ»»ØÊ£¬²î±ðÌ«´ó£¬ÎÞ·¨×ª»»£¬Ö»ÄÜÖØдÓÍ·À´¹ý
Ö»ÄÜ°´ÕÕ¹¦ÄÜ×öÁË£¬¿ÉÒÔʹÓõĵط½¾ÍÓÃÓÃ
Ö»ÄÜÖØдÓÍ·À´¹ý
aspÀ©Õ¹Ãû¸ÄΪaspx,°üºÃ.
Õâ¸ö¡£¡£¡£ºÜºÃ£¬ºÜÇ¿´ó¡£¡£¡£
߯ºÃ߯ǿ´ó¡£
ÊìϤaspµÄÒµÎñ£¬ÓÃ.netÖع¹
ÖØÐÂд
Ôõ麼轉..ºÇ.ÎÒÒ²ÏëÖªµÀÓÐʲô¸ßЧµÄ·½·¨...¾ÍÊÇûÓÐ,Ö»ÄܶÔ×ÅASPµÄÏîÄ¿.ÔÚ.netµÄ´úÂëÀïÍ·¸øÄ£·Â³öÄÇЩ¹¦ÄÜÀ´...
Ç¿´ó..
Ïà¹ØÎÊ´ð£º
ÎÒÒ»¸öÏîÄ¿£¬Óиö²åÈë²Ù×÷£¬¾ßÌåÊÇÕâÑùµÄ£º
ÎÒÓнø»õÐÅÏ¢±í¡£ÔÚ³ö»õʱѡÔñÏàÓ¦µÄ½ø»õÐÅÏ¢£¬ÊäÈëÊýÁ¿£¬Ñ¡Ôñ²¿Ãź󣬵㱣´æ°´Å¥£¬ÓÉÓÚÍøÂçÑÓʱ£¬µãÒ»ÏÂûÓз´Ó³£¬ÓÚÊÇÓû§¾ÍÓÖµãһϣ¬µ¼ÖÂÒ»´Î²åÈëÁËÁ½Ìõ¼Ç¼:
Àý£º
......
asp.netÅúÁ¿ÉÏ´«Í¼Æ¬×îºÃÓÐÔ´Â룬ÔÚÏߵȣ¡£¡£¡£¡£¡£¡£¡
Ô´ÂëºÜ³¤µÄ¡£
²Î¿¼
C# code:
HttpFileCollection files = HttpContext.Current.Request.Files;
if (files.Count <= 1)
{
......
1.asp.net×öµÄÒ»¸ö´ðÌâÒ³Ã棬ÈçºÎʵʱÏÞʱºó×Ô¶¯Ìá½»£¬Çë´ó¼Ò¸øµã˼·
ÏÞʱµÄʱ¼äÐÅÏ¢´æ·ÅÔÚÊý¾Ý¿âÖÐ
2.Èç¹û´ðÌâʱ¼äÉèÖõĽϳ¤£¬ÈçºÎ·½Ê½session³¬Ê±ºóÒ³ÃæÎÞЧ
лл
ÓÃjs·½·¨À´¿ØÖÆ
»Ø¸´ÄÚÈÝÌ«¶ÌÁË¡£¡£
js ......
¾ÍÊÇÒ»¸ö°´Å¥£¬µã»÷Ö®ºó´ò¿ª¶Ô»°¿ò£¬È»ºóѡȡͼƬ¡£¾ÍÕâÑùÉÏ´«¡£¡£
ÔõôʵÏÖ¡£ÔÚÍøÉÏËѵ½ÄÇô¶àµÄ´úÂ룬ȫÊǺܶàµÄÄÇÖÖ£¬²»ÖªµÀ£¬¿´²»ÏÂÈ¥¡£
ËùÒÔÔÚÕâÀïÏëÇë´ó¸ç´ó½ã°ï°ïæ¡£
ʹÓÃ×Ô´øµÄfileupload¿Ø¼þ¿ÉÒÔʵÏÖ ......
Ä¿Ç°ÊÇA.aspÃæÒ³ÓÐÒ»¸ö±äÁ¿aa,Ôõô²Å¿ÉÒÔ´«µ½B.aspÒ³Ãæ,²»ÊÇÓÃURL´«,ÏëÓÃ<inupt >¿Ø¼þÔõô´«°¡!Çë´ó¼ÒÖ¸µã!
ÓÃ±íµ¥´«Öµ
´«Öµ£¬GETºÍPOST£¬ÒªÃ´´ø²ÎÊý£¬ÒªÃ´ÓÃform
¶øÇÒ£¬Èç¹ûÄãÁ½¸öÒ³ÃæûÓÐÈκιØÁª£¬´«Ö ......