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

ASP.Net 2.0 ´°ÌåÉí·ÝÑéÖ¤»úÖÆ

ASP.Net 2.0 ´°ÌåÉí·ÝÑéÖ¤»úÖÆ-ת+×Ô¼º´úÂë×¢ÊÍʾÀýÓë¸üÏêϸµÄ˵Ã÷
ASP.Net 2.0 ´°ÌåÉí·ÝÑéÖ¤»úÖÆ-ת+×Ô¼º´úÂë×¢ÊÍʾÀýÓë¸üÏêϸµÄ˵Ã÷
µ±Ä³Ò»¸öÓû§Ê¹ÓÃÓû§Ãû³É¹¦µÇ½Íøվʱ£¬ FormsAuthentication£¨´°ÌåÉí·ÝÑéÖ¤»úÖÆ£¬ÏÂÃæͳһʹÓÃÓ¢ÎÄÊõÓ ½«»á´´½¨Ò»¸öauthentication ticket (Éí·ÝÑé֤Ʊ),ͨ¹ýÕâ¸öticket¾Í¿ÉÒÔÔÚÍøÕ¾ÉÏÈ«³Ì¸ú×ÙÕâ¸öÓû§ÁË¡£Form authentication ticketͨ³£±»°üº¬ÔÚÒ»¸öCookie ÀïÃ棬µ«ÊÇAsp.net2.0Ò²Ö§³Ö²»Ê¹ÓÃCookieµÄFormsAuthentication£¬Õâʱºòticket¾ÍÐèҪͨ¹ý Query string ´«µÝ¡£ µ±Ò»¸öÓû§Ôڵǽij¸öÍøվʱ£¬ÐèÒªÌṩÉí·ÝÑéÖ¤²ÅÄܽøÈëÍøÕ¾¡£Èç¹ûËû»¹Ã»ÓÐÊäÈëÑéÖ¤ÐÅÏ¢£¨Í¨³£ÊÇÓû§ÃûºÍÃÜÂ룩£¬Ôò´ËÓû§½«»á±»Öض¨Ïòµ½Ò»¸öµÇ½ҳÃæ¡£Óû§¿ÉÒÔÔڵǽҳÃæÊäÈëÑéÖ¤ÐÅÏ¢£¬È»ºóÕâЩÐÅÏ¢±»·¢Ë͵½·þÎñÆ÷Óëijһ¸ö´æ´¢Óû§Éí·ÝÐÅÏ¢µÄ½éÖÊ£¨ÀýÈç Sql Server»òÕßij¸öÎļþ£©½øÐÐÐÅÏ¢¶Ô±È¡£ÔÚASP.Net2.0ÖУ¬¿ÉÒÔͨ¹ýMemberShip ProivderÀ´·ÃÎÊ´æ´¢ÔÚÖîÈç SqlserverµÄÐÅÏ¢¡££¨ProviderģʽÓкܶàÓŵ㣬ÉÔºó»áÓÐÎÄÕÂÏêϸ˵Ã÷¡££©µ±Óû§ÐÅϢͨ¹ýÑéÖ¤ºó£¬´ËÓû§½«»ñµÃÔÊÐí£¬·ÃÎÊËûËùÆÚÍûµÄÒ³Ãæ¡£ 
FormsAuthenticationͨ¹ýFormsAuthenticationModuleÕâ¸öÀàÀ´Ö´ÐУ¬Õâ¸öÀàÊÇASP.netÒ³ÃæÔËÐÐÖÜÆÚµÄÒ»²¿·Ö¡£ÒÔÏÂÎÒÃǽ«½âÊÍFormsAuthenticationÔÚASP.net2.0ÖÐÊÇÈçºÎ¹¤×÷µÄ¡£
IIS ÑéÖ¤
Asp.netÑéÖ¤·ÖΪÁ½²½¡£Ê×ÏÈ£¬IISÑéÖ¤µ±Ç°Óû§·ÃÎÊÍøÕ¾ËùʹÓõÄwindowsÕʺÅÊÇ·ñÓÐȨÏÞ¡£Èç¹ûIIS·ÃÎʱ»ÅäÖÃΪanonymous£¬ÔòÈκÎÓû§¶¼ÄÜ·ÃÎÊÒ³Ãæ¡£
È»ºó£¬ÔÚIISÑéÖ¤Íê±Ïºó£¬ASP.net¿ªÊ¼Ö´ÐÐ×ÔÉíµÄÑéÖ¤¡£Ñé֤ģʽ¿ÉÒÔÔÚweb.configÎļþÖÐÅäÖã¬Ö»ÒªÔÚconfigÎļþÖÐдÉÏ< authentication mode="Forms" />£¬ÄÇôASP.net¾ÍÖªµÀʹÓà FormsAuthenticationModule Àà½øÐÐÑéÖ¤¡£
Asp.Net froms Authentication
froms Authentication ÅäÖãºÄã¿ÉÒÔÔÚconfigÎļþÖÐÅäÖá£ÅäÖÃÈçÏ£º
<system.web>
<authentication mode="Forms">
<forms loginUrl="Login.aspx"
protection="All"
timeout="30"
name=".ASPXAUTH"
path="/"
requireSSL="false"
slidingExpiration="true"
defaultUrl="default.aspx"
cookieless="UseDeviceProfile" enableCrossAppRedirects="false" />
</authentication>
</system.web>
ÕâЩÊôÐÔÏêϸÃèÊöÈçÏ£º
loginUrl:Ö¸ÏòµÇ½ҳÃ棬ÄãÓ¦¸Ä°ÑµÇ½ҳÃæ·ÅÔÚÒ»¸öÐèÒªSecur


Ïà¹ØÎĵµ£º

ASP.NET

      CheckBox ¿Ø¼þºÍ CheckBoxList ¿Ø¼þΪÓû§ÌṩÁËÒ»ÖÖÖ¸¶¨ÊÇ/·ñ£¨Õæ/¼Ù£©Ñ¡ÔñµÄ·½·¨¡£
 
Ò»¡¢¹¦ÄÜ
¿ÉÒÔʹÓà CheckBox ¿Ø¼þºÍ CheckBoxList ¿Ø¼þÖ´ÐÐÒÔϲÙ×÷£º
·µ±Ñ¡ÖÐij¸ö¸´Ñ¡¿òʱ½«ÒýÆðÒ³»Ø·¢¡£
·µ±Óû§Ñ¡ÖÐij¸ö¸´Ñ¡¿òʱ²¶»ñÓû§½»»¥¡£
·½«Ã¿¸ö¸´Ñ¡¿ò°ó¶ ......

ASP.NET

 ASP.NETÖÐÌṩÁËÁ½ÖÖ»º´æ¸üвßÂÔ£º
   1.±»¶¯¸üС£»º´æ¹ýÆÚÒÔºóÊÖ¶¯½øÐиüÐÂ
   2.Ö÷¶¯¸üС£»º´æ¹ýÆÚÒÔºóÔڻص÷·½·¨ÖиüÐÂ
Èç¹ûÎÒÃÇÏÖÔÚÒª»º´æÒ»¸öÊý¾Ý¼¯£ºDataSet ds=getData();//getdata()ÊÇÒ»¸ö×Ô¶¨Òå·½·¨£¬´ÓÊý¾Ý¿â»ñÈ¡Êý¾Ý
   A.²åÈëÓÀ²»¹ýÆڵĻº´æ£ºCache.Insert("d ......

ASP.NETÖÐʹÓÃÑéÖ¤Âë¼¼Êõ

 ÓÉÓÚÑéÖ¤Âë¼¼ÊõÖзþÎñÆ÷³ÌÐòÐèÒª´´½¨ÑéÖ¤ÂëͼƬ£¬ÀïÃæÓõ½ÁËͼÐαà³Ì£¬Òò´Ë±¾½Ú¿Î³ÌÈÔÈ»ÊÇC#·¢ÏÖÖ®ÂõÄͼÐαà³ÌϵÁн̡̳£
     ¸ù¾ÝÑéÖ¤ÂëµÄÔ­Àí£¬ÎÒÃÇʹÓÃC#ÔÚASP.NETÖÐʵÏÖÁËÑéÖ¤ÂëµÄ¹¦ÄÜ¡£
checkimage.aspx
     Ê×Ïȸù¾ÝÉϽڿγ̵ÄÄÚÈÝ£¬ÎÒÃÇÒª´´½¨Ò»¸öͼƬ·þÎñҳà ......

ASP.NET

ËÄ¡¢ÈçºÎ£ºÏìÓ¦Áбí Web ·þÎñÆ÷¿Ø¼þÖеĸü¸Ä
      ±¾Ö÷ÌâÖеÄÐÅÏ¢ÊÊÓÃÓÚÈçÏÂÁбí Web ·þÎñÆ÷¿Ø¼þ£ºListBox¡¢DropDownList¡¢CheckBoxList ºÍ RadioButtonList¡£
µ±Óû§ÔÚÁбí Web ·þÎñÆ÷¿Ø¼þÖнøÐÐÑ¡Ôñʱ£¬¿Ø¼þ½«Òý·¢Ò»¸öʼþ£¬Äú¿ÉÒÔÖ±½Ó¶Ô¸Ãʼþ×ö³öÏìÓ¦¡£Í¨³£¸ù±¾²»ÐèÒªÖ±½Ó¶ÔÑ¡Ôñʼþ½øÐÐÏì ......

asp.netÔ¤±àÒë

 asp.netÓ¦ÓõÚÒ»´Î·ÃÎÊʱʱÓÉÓÚÒª±àÒ룬ËùÒÔ·´Ó¦Âý£¬ÑÏÖØÓ°ÏìÓû§ÌåÑ飡£¨ÒÔÖ±»Óû§±§Ô¹ËÙ¶ÈÂý£º£¨£©£¬Ô¤±àÒëÖ®ºóÃ÷ÏÔÌá¸ß·´Ó¦Ëٶȣº£©
Àý£º
D:\Windows\Microsoft.NET\Framework\v2.0.50727>aspnet_compiler -v /anything -p E:\erp_pr
o_vss0330\1.1\erp_pro_vss\WebApp D:\ERPApp
˵Ã÷£ºanything Èκζ¼ÐÐ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ