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

ÔÚasp.netÖÐ ÔõÑùÈ¡µÃFileUploadÎļþµÄÍêÕû·¾¶

ÈçÌ⣡
FileUpload1.PostedFile.FileName

ÎÒÕâÑùдÁË  µ«ÊÇ»¹ÊÇ»ñµÃµÄÊÇÒ»¸öÎļþµÄÃû³Æ£¬FileUpload1.FileName Õâ¸öÒ²ÊÇÒ»Ñù£¡

FileUpload1.PostedFile.FileName

IE ÎÊÌâ

¹¤¾ß-internetÑ¡Ïî-°²È«-×Ô¶¨Ò弶±ð-½«ÎļþÉÏ´«µ½·þÎñÆ÷ÊÇ°üº¬±¾µØ·¾¶

C# code:
ʹÓÃFileUpload¿Ø¼þÔÚ»ñÈ¡ÎļþÃûµÄʱºò£¬¾¡Á¿Ê¹ÓÃPath.GetFileName(UpLoadFile.PostedFile.FileName)ÕâÑùµÄ·½·¨¿ÉÒÔʹÈκÎä¯ÀÀÆ÷ÏÂÃ涼Äܵõ½ÕýÈ·µÄÎļþÃû£¬¶ø²»»á°üº¬Â·¾¶.


Path.GetFileName( FileUpload.PostedFile.FileName.ToString());

dim filename,filepath as string
filename=Path.GetFileName(uploadfile.PostedFile.FileName)
filepath="±£´æÎļþµÄ·¾¶Ãû" & filename
uploadfile.PostedFile.SaveAS(filepath)



Ïà¹ØÎÊ´ð£º

ASP.NET³õѧÕßÎʸöÍ϶¯¿Ø¼þµÄÎÊÌâ···

¸ÕѧÕâ¸ö£¬ËùÒÔÒ»¶ÑÎÊÌâÊÇûÃ÷°×µÄ
ÉèÖÃÁËCSSµÄÑùʽ£¬¸ü¸ÄΪÁ˾ø¶Ô¶¨Î»
µ«ÊÇÓÐʱºò¿Ø¼þ»¹ÊÇû°ì·¨Í϶¯···Ò»»á¿ÉÒÔÒ»»á²»¿ÉÒÔµÄÕâÊÇΪʲô°¡£¿
ÎÒÓõÄÊÇVS2008

²»ÊǺÜÃ÷°×£¬ÏÖÔÚÊÇÓÐÐ ......

ÎʸöÎÊÌ⣬×öºÃµÄasp.netÍøÕ¾Òª¼ÙÉèÔÚftp·þÎñÆ÷ÉÏ£¿

ÎʸöÎÊÌ⣬×öºÃµÄasp.netÍøÕ¾Òª¼ÙÉèÔÚftp·þÎñÆ÷ÉÏ£¿

ÎÒÒѾ­Éú³ÉºÃÍøÕ¾£¬Ö±½Ó¿½±´µ½ftp·þÎñÆ÷ÉÏÊÇô£¿
½¨ÒéÈÓµ½iisÉÏ

Ò»°ã¼ÜÉèµ½·þÎñÆ÷µÄiisÖС£

Ôõô¼ÙÉèµ½IISÖÐÄØ£¿

³ÁÁË£¿

µÚÒ»²½£ºÖØбàÒë³Ì ......

(¾ÈÃüѽ¾ÈÃüѽ¾ÈÃüѽ)ASP.NETͻȻ²»ÄÜÁ¬½ÓSQL2000

ÈçÌâ:Ç°¼¸Ìì·þÎñÆ÷»¹ÊǺúõĠ ½ñÌìÍøÒ³´ò²»¿ªÍ»È»³öÏÖ´íÎó,Ò»²éÊÇÁ´½Ó²»ÉÏÊý¾Ý¿âÁË?
(²éѯ·ÖÎöÆ÷ºÍÆóÒµ¹ÜÀíÆ÷¶¼¿ÉÒÔÕý³£ÏÔʾ)


[SqlException (0x80131904): Óû§ 'sa' µÇ¼ʧ°Ü¡£] ......

asp.netÔõÑù»ñÈ¡ÄÚÍø¿Í»§¶ËÓòÃûºÍ¼ÆËã»úÃû£¿

·þÎñÆ÷·ÅÖÃÔÚÄÚÍø¡£ÍøÕ¾Ö»ÄÜÊÇͨ¹ýÄÚ²¿ÍøÂç·ÃÎʵġ£ÔõÑù»ñÈ¡¿Í»§¶Ë¼ÆËã»úµÄÓòºÍ¼ÆËã»úÃû£¿

RT£¬Ð»Ð»ÁË¡£
Request.UserHostName
Request.UserHostAddress

Õâ¸öÊÔ¹ýÁ˲»ÐС£

ÈçºÎÔÚ.NETÖлñÈ¡µçÄÔÃû£ ......

asp.net ajax¿ò¼Ü£¿£¿£¿

ÏÖÔÚ×öÒ»¸öÍøÕ¾£¬ÓÃÁËĸ°æ£¬Óû§¿Ø¼þ£¬¶¼Óõ½ÁËscriptManager£¬¿ÉÊÇÄÚÈÝÒ³»¹ÒªÓÃscriptManager£¬¿´ÁËÏà¹Ø×ÊÁÏ£¬ËµscriptManagerProxy¿ÉÒÔ×÷ΪscriptManagerµÄ´úÀíʹÓã¬ÊÔÁËÏ£¬Ã»Óгɹ¦£¬ÌØ·¢´ËÌû£¬Çë¸÷λ°ï°ïæ£¬Ï ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ