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

asp ÎļþÉÏ´«

form ±íµ¥ ÓÃÁËenctype="multipart/form-data"ºóÔõôÑù½ÓÊÕ±íµ¥µÄÊý¾Ý°¡?
ÓÃrequest.form("name")È¡²»µ½°¡!

set upload=new upload_5xsoft
response.write upload.form("userName")&" <br>" //»ñÈ¡¿Ø¼þÖµ
set file=upload.file("fileImage") //»ñÈ¡ÎļþÊý¾Ý




ϸö »¯¾³ÉÏ´«Àà ÀïÃæÓÐÊÂÀýÎļþ



End_rbody_60363559//-->
¸Ã»Ø¸´ÓÚ2009-10-28 10:08:24±»¹ÜÀíԱɾ³ý



¶ÔÎÒÓÐÓÃ[0]
¶ª¸ö°åש[0]
ÒýÓÃ
¾Ù±¨
¹ÜÀí
TOP








alan_lau
(ÎÒµÄCSDN,ÎÒµÄ֪ʶÌìÌã¡)

µÈ¡¡¼¶£º



#5Â¥ µÃ·Ö£º0»Ø¸´ÓÚ£º2009-10-15 09:13:51


ÒýÓÃ
enctype="multipart/form-data"
ʹÓÃÁËÕâ¸öÊôÐÔ£¬¾Í²»ÄÜÔÚʹÓÃrequest.form("")À´»ñȡֵÁË¡£

Èç¹ûÏëͬʱ»ñÈ¡¿Ø¼þÖµ£¬²¢ÇÒ»ñÈ¡ÎļþÊý¾Ý£¬×Ô¼ºÐ´ºÜÂé·³£¬
ÇëÄãʹÓÃÎÞ×é¼þÉÏ´«×é¼þ

index.htm
HTML code <html> <body> <formname="form1" method="post" action="upload.asp" enctype="multipart/form-data"> <inputtype="text" name="userName"/> <br> <inputtype="file" name="fileImage"/> <br> <inputtype="submit" name="submit" value="Ìá½»"/> </form> </body> </html>

upload.aspHTML code <html> <metahttp-equiv="Content-Type&qu


Ïà¹ØÎÊ´ð£º

asp.netµ¼³öEXCELÎÊÌ⣡ - .NET¼¼Êõ / ASP.NET

C# code:

SqlConnection conn = CsDB.sqlcon();
SqlDataAdapter da = new SqlDataAdapter("select fwCoding from bjmuma_fwCoding where OrderNumber='" + Order + & ......

asp.net Ò³ÃæÏÞʱÌá½» ÈçºÎʵÏÖ - .NET¼¼Êõ / ASP.NET

1.asp.net×öµÄÒ»¸ö´ðÌâÒ³Ãæ£¬ÈçºÎʵʱÏÞʱºó×Ô¶¯Ìá½»£¬Çë´ó¼Ò¸øµã˼·
ÏÞʱµÄʱ¼äÐÅÏ¢´æ·ÅÔÚÊý¾Ý¿âÖÐ
2.Èç¹û´ðÌâʱ¼äÉèÖõĽϳ¤£¬ÈçºÎ·½Ê½session³¬Ê±ºóÒ³ÃæÎÞЧ
лл
ÓÃjs·½·¨À´¿ØÖÆ
»Ø¸´ÄÚÈÝÌ«¶ÌÁË¡£¡£

js ......

ÇóÖúasp.netͼƬÉÏ´« - .NET¼¼Êõ / ASP.NET

¾ÍÊÇÒ»¸ö°´Å¥£¬µã»÷Ö®ºó´ò¿ª¶Ô»°¿ò£¬È»ºóѡȡͼƬ¡£¾ÍÕâÑùÉÏ´«¡£¡£
ÔõôʵÏÖ¡£ÔÚÍøÉÏËѵ½ÄÇô¶àµÄ´úÂ룬ȫÊǺܶàµÄÄÇÖÖ£¬²»ÖªµÀ£¬¿´²»ÏÂÈ¥¡£
ËùÒÔÔÚÕâÀïÏëÇë´ó¸ç´ó½ã°ï°ïæ¡£

ʹÓÃ×Ô´øµÄfileupload¿Ø¼þ¿ÉÒÔʵÏÖ ......

aspÍøÕ¾°²È«ÎÊÌâ - Web ¿ª·¢ / ASP

¹ØÓÚÍøÕ¾°²È«µÄÎÊÌ⣡
ÎÒÁ˽⵽µÄÍøÕ¾°²È«ÎÊÌâ°üÀ¨£º
sql×¢Èë©¶´ºÍ±©¿â©¶´»¹ÓÐÉÏ´«Â©¶´
³ýÁËÕâЩ»¹ÓÐÆäËûµÄ©¶´Ã´£¿
×¢Èë©¶´¿ÉÒÔͨ¹ý¹ýÂËÀ´·ÀÖ¹
±©¿â©¶´Ôõô·ÀÖ¹
»¹ÓÐÈËÉÏ´«µÄľÂíÊÇ.gif
ÕâÖÖ©¶´Ôõôȥ± ......

¹ØÓÚJavaºÍasp - Java / Java SE

´ó¼ÒºÃ£¬ÎÒÏÖÔÚÓÐÒ»¸öÓÃaspдµÄÁÄÌìÊÒ£¬ÏÖÔÚµÄÏëÌí¼ÓÒ»¸ö¹¦ÄÜ£¬¾ÍÊǵ±ÓÐÈËÉÏÏßµÄʱºò£¬·¢³öÌáʾ£¬±ÈÈçÉùÒôÏìһϣ¬ÏÖÔÚÏëÓÃjavaʵÏÖÕâ¸ö¹¦ÄÜ£¬ÇëÎÊ´ó¼ÒÔõôʵÏÖ£¿
ллÁË£¬ÎÒ»á¼Ó·ÖµÄ
aspºÍjavaÕûºÏµ½Ò»ÆðÈ¥£¿ºÎ±Ø ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ