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

asp.netÏÂʵÏÖÎļþÉÏ´«µ½·þÎñÆ÷

   string filepath = FileUpload1.FileName;                                                         //  µÃµ½ÎļþµÄÍêÕû·¾¶
   string filename = filepath.Substring(filepath.LastIndexOf("\\") + 1);            //  µÃµ½ÎļþÃû£¨¼´È¥µôÁË·¾¶£©
   string type = filename.Substring(filename.LastIndexOf("."));                       //  µÃµ½ÎļþµÄÀàÐÍ(´ø . )
   string newname = DateTime.Now.ToString("yyyyMMddHHmmss") + type;   //  ½«µ±Ç°µÄʱ¼ä¸ñʽ»¯×÷ΪÎļþµÄÐÂÃû×Ö
   string serverpath = Server.MapPath("~/upimages/") + newname;              // ¹¹³ÉÎļþµÄ´æ´¢Â·¾¶£¨ÕâÊÇÕæÊµÂ·¾¶£©
   FileUpload1.PostedFile.SaveAs(serverpath);                                                //  ´æ´¢Îļþ


Ïà¹ØÎĵµ£º

IIS URL Rewriting ºÍ ASP.NET routing£¨ÉÏ£©

а汾URL-rewrite module for IIS 7.0µÄ·¢²¼ÁË£¬ASP.NET Routing×é¼þËæ×Å.NET Framework 3.5 SP1µÄ·¢²¼£¬²¢ÔÚ.NET Framework 4.0 BetaÖнøÒ»²½³ÉÊì¡£×÷ΪASP.NET ¿ª·¢ÈËÔ±£¬ÎÒÃDz»Ãâ»á¶ÔÕâÁ½¸ö¹¦ÄÜÏà½üµÄ×é¼þ±§ÓÐÐí¶àÒÉÎÊ£¬ÖîÈç“ËüÃÇÓÐʲôÒìͬ£¿”“·Ö±ðÊÊÓÃÓÚʲô»·¾³£¿”µÈµÈ¡£±¾ÎÄÖ¼ÔÚÃèÊöÕâÁ½Õß ......

ASP.NET Web ²¿¼þ¿Ø¼þ¼¯¸ÅÊö


      ASP.NET Web ²¿¼þ¿Ø¼þ¼¯ÊÇÒ»×éЭͬ¹¤×÷µÄ×é¼þ£¬Ê¹Äú¿ÉÒÔ´´½¨×îÖÕÓû§¿ÉÒÔÖ±½Ó´Óä¯ÀÀÆ÷ÐÞ¸ÄÆäÓû§½çÃæ (UI) µÄÍâ¹ÛºÍÐÐΪµÄÍøÒ³¡£±¾¸ÅÊöº­¸ÇÁË Web ²¿¼þ¿Ø¼þ¼¯µÄ»ù±¾·½Ã棬°üÀ¨×î³£ÓõĿؼþÒÔ¼°´´½¨ Web ²¿¼þÒ³ËùÐèµÄ»ù±¾ Web ²¿¼þ×é¼þµÄ˵Ã÷¡£
Ò»¡¢Web ²¿¼þ×é¼þµÄÀà±ð
Web ²¿¼þ¿Ø¼þ¼¯Ó ......

ASP.NET EditorZone Web ·þÎñÆ÷¿Ø¼þ¸ÅÊö


      Web ²¿¼þµÄÒ»ÏîÖ÷Òª¹¦ÄÜÊÇʹ×îÖÕÓû§Äܹ»¸öÐÔ»¯ÍøÒ³²¢±£´æÆä¸öÐÔ»¯ÉèÖá£ÐÞ¸Ä Web ²¿¼þÒ³µÄÒ»¸ö·½Ãæ°üÀ¨±à¼­¿É¼û WebPart ¿Ø¼þµÄÍâ¹Û¡¢²¼¾Ö¡¢ÐÐΪºÍÆäËûÊôÐÔ¡£
Web ²¿¼þ¿Ø¼þ¼¯Öеļ¸Öֿؼþ¿ÉÌṩ±à¼­¹¦ÄÜ¡£ÆäÖаüÀ¨ EditorZone ¿Ø¼þ£¬¸Ã¿Ø¼þÊÇ Web ²¿¼þ¿Ø¼þ¼¯ÖÐÓÃÓÚ³ÐÔØÍøÒ³É쵀 EditorP ......

dzÎöASP.NETÉú³ÉËæ»úÃÜÂë

ASP.NETÉú³ÉËæ»úÃÜÂë
ÔÚ¿ª·¢ÐèÒªÓû§×¢²áºó²ÅÄÜʹÓÃÌṩµÄ¸÷ÏÄܵÄÓ¦ÓóÌÐòʱ£¬ÔÚÐÂÓû§Ìá½»×¢²áÐÅÏ¢ºó£¬½Ï³£¼ûµÄ×ö·¨ÊÇÓɳÌÐòÉú³ÉËæ»úÃÜÂ룬Ȼºó·¢ËÍÃÜÂëµ½Óû§×¢²áʱÌîдµÄµç×ÓÐÅÏ䣬Óû§ÔÙÓÃÊÕµ½µÄÃÜÂëÀ´¼¤»îÆäÕÊ»§¡£
ʵÏÖASP.NETÉú³ÉËæ»úÃÜÂ빦ÄÜÊǺÜÈÝÒ׵ģ¬ÏÂÃæµÄ´úÂë¸ø³öÁËÍêÕûµÄʵÏÖ·½·¨£º
publicstaticstring ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ