ÇóÖúasp.netͼƬÉÏ´« - .NET¼¼Êõ / ASP.NET
¾ÍÊÇÒ»¸ö°´Å¥£¬µã»÷Ö®ºó´ò¿ª¶Ô»°¿ò£¬È»ºóѡȡͼƬ¡£¾ÍÕâÑùÉÏ´«¡£¡£ ÔõôʵÏÖ¡£ÔÚÍøÉÏËѵ½ÄÇô¶àµÄ´úÂ룬ȫÊǺܶàµÄÄÇÖÖ£¬²»ÖªµÀ£¬¿´²»ÏÂÈ¥¡£ ËùÒÔÔÚÕâÀïÏëÇë´ó¸ç´ó½ã°ï°ïæ¡£
ʹÓÃ×Ô´øµÄfileupload¿Ø¼þ¿ÉÒÔʵÏÖµÄ ÍøÉÏÓв»ÉÙ´úÂëÒýÓà ʹÓÃ×Ô´øµÄfileupload¿Ø¼þ¿ÉÒÔʵÏÖµÄ ÍøÉÏÓв»ÉÙ´úÂë fileupload.SaveAs(Server.MapPath(...)); FileName: »ñÈ¡ÉÏ´«µÄÎļþÃû HasFile: ÊÇ·ñÑ¡Ôñ(´æÔÚ)ÉÏ´«µÄÎļþ ContentLength: »ñµÃÉÏ´ÜÎļþµÄ´óС,µ¥Î»ÊÇ×Ö½Ú(byte) ·½·¨: Server.MapPath(): »ñÈ¡·þÎñÆ÷ÉϵÄÎïÀí·¾¶ SaveAs(): ±£´æÎļþµ½Ö¸¶¨µÄÎļþ¼Ð C# code: if (FileUpLoad1.HasFile) { //ÅжÏÎļþÊÇ·ñСÓÚ10Mb if (FileUpLoad1.PostedFile.ContentLength < 10485760) { try { //ÉÏ´«Îļþ²¢Ö¸¶¨ÉÏ´«Ä¿Â¼µÄ·¾¶ FileUpLoad1.PostedFile.SaveAs(Server.MapPath("~/Files/") + FileUpLoad1.FileName); //FileUpLoad1.SaveAs(@"D:\"+FileUpLoad1.FileName); lblMessage.Text = "ÉÏ´«³É¹¦!"; } catch (Exception ex) { lblMessage.Text = "³öÏÖÒì³£,ÎÞ·¨ÉÏ´«!"; } } else
Ïà¹ØÎÊ´ð£º
function CheckOpwd(){//ÑéÖ¤Óû§Ãû var pwd=document.all.txtOpwd; var div1=document.getElementById("divPwd"); if (pwd.value=="") { ......
Microsoft JET Database Engine '80040e07' ±ê×¼±í´ïʽÖÐÊý¾ÝÀàÐͲ»Æ¥Åä¡£ \wwwroot\update.asp, line 20 -------------------------------------------------------------------------------- Ho ......
ÎÒÏëʵÏÖÒ»¸öЧ¹ûÊÇ£ºÄÜ°ÑÒ³Ãæ·Ö³É¼¸¸ö´ó¿é£¬µãÏ´ó¿éÉϵÄ+±ãÕ¹¿ª£¬µãÏÂ-±ãÕÛµþ¡£ Õâ¸öÓÐʲô¿Ø¼þ¿ÉÒÔÓò»£¬Çë¸ßÊÖ²»Áߴͽ̣¡ ÓÃjs´úÂëÀ´ ¿ØÖÆ divµÄ¶¯×÷´Ó¶øÄÜʵÏÖ js¿ØÖÆdivÏÔʾ/Òþ²ØÁË VS2008×Ô´ø·â×°Á ......
1.asp.net×öµÄÒ»¸ö´ðÌâÒ³Ã棬ÈçºÎʵʱÏÞʱºó×Ô¶¯Ìá½»£¬Çë´ó¼Ò¸øµã˼· ÏÞʱµÄʱ¼äÐÅÏ¢´æ·ÅÔÚÊý¾Ý¿âÖÐ 2.Èç¹û´ðÌâʱ¼äÉèÖõĽϳ¤£¬ÈçºÎ·½Ê½session³¬Ê±ºóÒ³ÃæÎÞЧ лл ÓÃjs·½·¨À´¿ØÖÆ »Ø¸´ÄÚÈÝÌ«¶ÌÁË¡£¡£ js ......
ÎÒÓÃ.net¿ª·¢wapÍøÕ¾ 1£¬ÎÒ´Ó¹¤¾ßÏäÀïÍÏÁËÁ½¸ölink£¬ÕâÁ½¸ölink»áÏÔʾÔÚÁ½ÐУ¬Èç¹ûÈÃÕâÁ½¸ölink´¦ÓÚͬһÐС£ 2£¬ÈçºÎÏÔʾÁ½¸ö¿Ø¼þÖ®¼äµÄ¿Õ¸ñÎÊÌâ¡£ ¸úwapÓйØÂ𣿲»Ì«Ã÷°× ÓÑÇé°ï¶¥¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£ ¾Í ......