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

ASP.NET ÈçºÎ£ºÏòÄäÃûÓû§ºÍµÇ¼Óû§ÏÔʾ²»Í¬µÄÐÅÏ¢


      ͨ¹ýÔÚÒ³Éϰüº¬ LoginView ¿Ø¼þ¿ÉÒÔÏòÄäÃûÓû§ºÍµÇ¼£¨¾­¹ýÉí·ÝÑéÖ¤µÄ£©Óû§ÏÔʾ²»Í¬µÄÐÅÏ¢¡£LoginView ¿Ø¼þ°üº¬Á½¸öÄ£°å£ºÒ»¸öÓÃÓÚÏòÄäÃûÓû§ÏÔʾÐÅÏ¢£¬ÁíÒ»¸öÓÃÓÚÏòµÇ¼Óû§ÏÔʾÐÅÏ¢¡££¨»¹¿ÉÒÔʹÓà RoleGroups ÊôÐÔ°üº¬»ùÓÚ½ÇÉ«Ãû³ÆµÄÄ£°å¡££©¸Ã¿Ø¼þ×Ô¶¯È·¶¨Óû§ÊÇ·ñ¾­¹ýÉí·ÝÑéÖ¤²¢³ÊÏÖÏàÓ¦µÄÄ£°å¡£
 
1¡¢ÔÚ ASP.NET Ò³µÄ“Éè¼Æ”ÊÓͼÖУ¬´Ó“¹¤¾ßÏ䔵ēµÇ¼”Îļþ¼ÐÖн«Ò»¸ö LoginView ¿Ø¼þÍ϶¯µ½Ò³ÉÏ¡£
 
2¡¢Èç¹û“LoginView ÈÎÎñ”Ãæ°åδÏÔʾ£¬ÔòÓÒ»÷¸Ã¿Ø¼þ²¢µ¥»÷“ÏÔʾÖÇÄܱê¼Ç”ÒÔÏÔʾ“LoginView ÈÎÎñ”Ãæ°å¡£ ĬÈÏÇé¿öÏ£¬¸Ã¿Ø¼þÏÔʾ AnonymousTemplate¡£
 
3¡¢Ìí¼ÓÓ¦¶ÔδµÇ¼µÄÓû§¿É¼ûµÄ¾²Ì¬Îı¾ºÍ¿Ø¼þ£¬ÈçÓÃÓÚÓû§µÇ¼¡¢»Ö¸´ÃÜÂë»ò´´½¨ÐÂÓû§ ID µÄ Login ¿Ø¼þ¡£
 
4¡¢ÔÚ“LoginView ÈÎÎñ”²Ëµ¥ÖУ¬´Ó“ÊÓͼ”ÁбíÖÐÑ¡Ôñ LoggedInTemplate¡£
 
5¡¢Ìí¼ÓÓ¦¶Ô¾­¹ýÉí·ÝÑéÖ¤µÄÓû§¿É¼ûµÄ¾²Ì¬Îı¾ºÍ¿Ø¼þ£¬Èç FormatString ÊôÐÔÉèÖÃΪ»¶Ó­ÏûÏ¢µÄ LoginName ¿Ø¼þ¡£
<asp:LoginView ID="LoginView1" Runat="server">
  <LoggedInTemplate>
   <asp:LoginName ID="LoginName1" Runat="server"
                  FormatString ="Welcome, {0}"/>
   <br />
    <asp:HyperLink ID="HyperLink1" Runat="server"
      NavigateUrl="~/MemberPages/ChangePassword.aspx">
      Change Password
    </asp:HyperLink>
  </LoggedInTemplate>
  <AnonymousTemplate>
    <asp:Login id="Login1" runat="server"
        CreateUserText="Create a new user..."
        CreateUserUrl="~/Register.aspx"
        PasswordRecoveryUrl="~/Recovery.aspx"
        UserNameLabelText="E-mail address:" />
  </Anony


Ïà¹ØÎĵµ£º

21¸öAsp.Net¾­³£»áÓõ½µÄº¯Êý¼¯


1¡¢DateTime Êý×ÖÐÍ
System.DateTime currentTime=new System.DateTime();
1.1 È¡µ±Ç°ÄêÔÂÈÕʱ·ÖÃë
currentTime=System.DateTime.Now;
1.2 È¡µ±Ç°Äê
int Äê=currentTime.Year;
1.3 È¡µ±Ç°ÔÂ
int ÔÂ=currentTime.Month;
1.4 È¡µ±Ç°ÈÕ
int ÈÕ=currentTime.Day;
1.5 È¡µ±Ç°Ê±
int ʱ=currentTime.Hour ......

Asp.Net ÉÏ´«´óÎļþרÌâ ¸ÅÊö£ºÉÏ´«´óÎļþµÄÄѵã

ÕýÎIJ¿·Ö£º
.Ff j(y-vDp0
(Gd4DA-{%r1?.@0       ×¢Ò⣺ÒÔϺìÉ«²¿·Ö×ÖÌå˵Ã÷¸ÃÄÚÈÝÒýÓÃÓÚ΢ÈíµÄÏà¹ØÍøÕ¾ITPUB¸öÈ˿ռä8~+X.M.cL$C0Gq4J
ITPUB¸öÈ˿ռä [o VI4[?FHe
        ÒòΪҪ×öÒ»¸öÊÓÆµÍøÕ¾£¬ËùÒÔÐèÒªÌṩÓû§ÉÏ´«ÊÓÆµµÄ¹¦Ä ......

ÔÚASP.NETÖÐÖ§³Ö¶ÏµãÐø´«ÏÂÔØ´óÎļþ(ZT)

IEµÄ×Ô´øÏÂÔØ¹¦ÄÜÖÐûÓжϵãÐø´«¹¦ÄÜ£¬ÒªÊµÏֶϵãÐø´«¹¦ÄÜ£¬ÐèÒªÓõ½HTTPЭÒéÖÐÏÊΪÈËÖªµÄ¼¸¸öÏìӦͷºÍÇëÇóÍ·¡£
Ò». Á½¸ö±ØÒªÏìӦͷAccept-Ranges¡¢ETag
        ¿Í»§¶Ëÿ´ÎÌá½»ÏÂÔØÇëÇóʱ£¬·þÎñ¶Ë¶¼ÒªÌí¼ÓÕâÁ½¸öÏìӦͷ£¬ÒÔ±£Ö¤¿Í»§¶ËºÍ·þÎñ¶Ë½«´ËÏÂÔØÊ¶±ðΪ¿ÉÒԶϵãÐø´«µÄÏÂÔØ£º ......

Asp.netʹÓÃajaxÎÞË¢ÐÂÉÏ´«Îļþ£¨¸½Ô´Â룩

ʹÓÃAjaxÎÞË¢ÐÂÉÏ´«ÎļþÊǵ±Ç°±È½ÏÁ÷ÐеŦÄÜ¡£½èÖúJQueryÇ¿´óµÄ²å¼þ£¬ÏÖÔÚÒѾ­¿ÉÒÔºÜÈÝÒ×ÁË¡£
Ê×Ïȵ¼ÈëjsÎļþjquery.ajaxfileupload.js¡£´Ë²å¼þµÄÔ­ÀíÊÇÔÚÎĵµÖд´½¨iframeºÍformÈ»ºóÔÚ½«ÎļþÉÏ´«µ½·þÎñÆ÷¡£
 1 <html xmlns="http://www.w3.org/1999/xhtml">
 2 <head id="Head ......

ºÚɫ΢Цѧasp.net(Ðò)

ºÚɫ΢Цѧasp.net£¨Ðò£©
 
      ±¾ÈËÊǸö²ËÄñ£¬´ÓʵÄÖ°ÒµÔÚÍøÕ¾ºǫ́Ìí¼ÓÎÄÕµģ¬ÎÒ¶Á³ÉÈË´óѧÔÚÄÇÀïÖ»ÖªµÀÓÐCÓïÑÔÕâÖÖ¶«Î÷£¬¶ÔÓÚÀïÃæµÄÄÚÈÝÒ»¸Å²»Öª£¬ºóÀ´²Î¼Ó×Ô¿¼²ÅÖªµÀÁËselectÓïÑÔ¡£Í¨¹ýÇ×ÆÝ°ïÎÒ½éÉܵ½×öÍøÕ¾µÄ²¿ÃÅ£¬ÓÉÓÚ¹¤×÷ÐèÒª²Å½Ó´¥ÁËHTMLÓïÑÔ£¬ºóÀ´ÂýÂýÏÐÏÂÀ´ÁË£¬¿´µ½Í¬ÊÂASP×ö ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ