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

ASP.NETÖÐServer.MapPathµÄ¼¸ÖÖÓ÷¨

 1.Server.MapPath("/") //Ó¦ÓóÌÐò¸ùĿ¼ËùÔÚµÄλÖà Èç C:\Inetpub\wwwroot\
2.Server.MapPath("./") //±íʾËùÔÚÒ³ÃæµÄµ±Ç°Ä¿Â¼
//×¢£ºµÈ¼ÛÓÚServer.MapPath("") ·µ»Ø Server.MapPath("")ËùÔÚÒ³ÃæµÄ//ÎïÀíÎļþ·¾¶
3.Server.MapPath("../")//±íʾÉÏÒ»¼¶Ä¿Â¼
4.Server.MapPath("~/../");//±íʾ±¾ÎļþËùÔÚÎļþ¼ÐËùÔÚµÄÉÏÒ»¼¶Ä¿Â¼
4.Server.MapPath("~/")//±íʾµ±Ç°Ó¦Óü¶³ÌÐòµÄĿ¼£¬Èç¹ûÊǸùĿ¼£¬¾Í//ÊǸùĿ¼£¬Èç¹ûÊÇÐéÄâĿ¼£¬¾ÍÊÇÐéÄâĿ¼ËùÔÚµÄλÖà È磺//C:\Inetpub\wwwroot\Example\


Ïà¹ØÎĵµ£º

asp.net ͼƬÊý¾Ý¿â´æ´¢Ïê½â£¨Àý×ÓÍêÕû°æ£©

asp.net ͼƬÊý¾Ý¿â´æ´¢Ïê½â£¨Àý×ÓÍêÕû°æ£©
 
asp.net ͼƬÊý¾Ý¿â´æ´¢Ïê½â£¨Àý×ÓÍêÕû°æ£©
°´ÕÕÒÔϵijÌÐò´úÂ룬¾­¹ý±¾ÈËÔÚvs2005ÉϵIJâÊÔ£¬ÐÞ¸Äʵ¼Ê¿ÉÒÔÔËÐеĴúÂëÈçÏ£º
6¸öÎļþ
ÊÇÔÚÒ»¸ö·¢²¼¸ùĿ¼ÏµÄtestÎļþ¼ÐÖвâÊÔͨ¹ýµÄ¡£
SQL½Å±¾ÈçÏ£º
CREATE TABLE [dbo].[image] (
[image_id] [bigint] IDENTITY ......

ASP.NET³£ÓôúÂë

1. ´ò¿ªÐµĴ°¿Ú²¢´«ËͲÎÊý£º
 
´«ËͲÎÊý£º
response.write("<script>window.open('*.aspx?id="+this.DropDownList1.SelectIndex+"&id1="+...+"')</script>")
½ÓÊÕ²ÎÊý£º
string a = Request.QueryString("id");
string b = Request.QueryString("id1");
2.Ϊ°´Å¥Ìí¼Ó¶Ô»°¿ò
Button1.Attribut ......

asp.net¹¤×÷Ô­Àí


ASP.NETµÄÒ³Ãæ³õʼ»¯ÓëʼþÏê½â
 
Ò»¡¢³õʼ»¯
¡¡¡¡·µ±Ò³Ãæ±»Ìá½»ÇëÇóµÚÒ»¸ö·½·¨ÓÀÔ¶Êǹ¹Ô캯Êý¡£Äú¿ÉÒÔÔÚ¹¹Ô캯ÊýÀïÃæ³õʼһЩ×Ô¶¨ÒåÊôÐÔ»ò¶ÔÏ󣬲»¹ýÕâʱºòÒòΪҳÃ滹ûÓб»ÍêÈ«³õʼ»¯ËùÒÔ¶àÉÙ»áÓÐЩÏÞÖÆ¡£ÌرðµØ£¬ÄúÐèҪʹÓÃHttpContext¶ÔÏó¡£µ±Ç°¿ÉÒÔʹÓõĶÔÏó°üÀ¨QueryString, FormÒÔ¼°Cookies¼¯ºÏ£ ......

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

 ÔÚ¿ª·¢ÐèÒªÓû§×¢²áºó²ÅÄÜʹÓÃÌṩµÄ¸÷ÏÄܵÄÓ¦ÓóÌÐòʱ£¬ÔÚÐÂÓû§Ìá½»×¢²áÐÅÏ¢ºó£¬½Ï³£¼ûµÄ×ö·¨ÊÇÓɳÌÐòÉú³ÉËæ»úÃÜÂ룬Ȼºó·¢ËÍÃÜÂëµ½Óû§×¢²áʱÌîдµÄµç×ÓÐÅÏ䣬Óû§ÔÙÓÃÊÕµ½µÄÃÜÂëÀ´¼¤»îÆäÕÊ»§¡£
ʵÏÖASP.NETÉú³ÉËæ»úÃÜÂ빦ÄÜÊǺÜÈÝÒ׵ģ¬ÏÂÃæµÄ´úÂë¸ø³öÁËÍêÕûµÄʵÏÖ·½·¨£º
publicstaticstringMakePassword(st ......

ASP.NET°²È«ÈÏÖ¤ Ò»

×÷Õߣºº®Óð·ã(cityhunter172)
Ðò
´úÂëд N ¾ÃÁË£¬×ÜÏëдµÃ±ðµÄ¡£Õâ²»£¬ÉÏͷ˵ÔÚÕûºÏÁ½¸öÏîÄ¿£¬×ö³Éµ¥Ò»µÇ¼£¨Single Sign On£©£¬Ò²ÓÐÈ˳Æ֮Ϊ“µ¥µãµÇ¼”¡£²éÔÄÏà¹ØÎĵµºó£¬ÖÕÓÚʵÏÖÁË£¬ÏÖÔÚ°ÑËüÄóöÀ´Óë´ó¼ÒÒ»Æð·ÖÏí¡£»òÐí´ó¼Ò»áÎÊ£º“ÕâÓë±êÌâ²»·ûѽ£¿”±ð¼±£¬ÔÚϱÊ֮ǰ£¬ÎÒÄÔ×ÓÀïÏëµ½ÁËÎÒ¸ÕʹÓà ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ