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

ASP.NET ÈçºÎ£ºÏÔʾµ±Ç°Óû§µÄÃû³Æ


      Äú¿ÉÒÔʹÓà LoginName ¿Ø¼þÏÔʾµ±Ç°Óû§µÄÃû³Æ¡£¶ÔÓÚµ±Ç°µÇ¼µÄÓû§£¬ÎÞÂÛÆä±êʶÊÇʹÓà ASP.NET µÇ¼¿Ø¼þ£¨¼°°µº¬µÄ ASP.NET ³ÉÔ±×ʸñ£©»¹ÊÇʹÓü¯³É Windows Éí·ÝÑéÖ¤½¨Á¢µÄ£¬´Ë¿Ø¼þ¶¼ÏÔʾ¸ÃÓû§µÄÓû§ ID¡£
 
ʹÓÃÏÂÃæµÄÓï·¨ÔÚÒ³ÖзÅÖÃÒ»¸ö LoginName ¿Ø¼þ£º
<asp:LoginName id="LoginName1" runat="server"
               FormatString ="Welcome, {0}" />


Ïà¹ØÎĵµ£º

ASP.NETͼƬµÁÁ´ÎÊÌâ


1ʲôÊÇͼƬµÁÁ´
  ÈÃÎÒÃÇÏÈ·ÖÎöÒ»°ãµÄä¯ÀÀÏÖÏ󣬯äÖÐ×îÖØÒªµÄÒ»µã¾ÍÊÇÒ»¸öÍêÕûµÄÒ³Ãæ²¢²»ÊÇÒ»´ÎÈ«²¿´«Ë͵½¿Í»§¶ËµÄ£®Èç¹ûÄãÇëÇóµÄÊÇÒ»¸ö´øÓÐÐí¶àͼƬºÍÆäËüÐÅÏ¢µÄÒ³Ãæ£¬ÄÇô×îÏȵÄÒ»¸öHttpÇëÇó±»´«ËÍ»ØÀ´µÄÊÇÕâ¸öÒ³ÃæµÄÎı¾£¬È»ºóͨ¹ý¿Í»§¶ËµÄä¯ÀÀÆ÷¶ÔÕâ¶ÎÎı¾µÄ½âÊÍÖ´ÐУ¬·¢ÏÖÆäÖл¹ÓÐͼƬ£¬ÄÇô¿Í»§¶ËµÄä¯À ......

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 Web PageÉîÈë̽ÌÖ

ÕâÆªÎÄÕ¾­µä£¬¿´¹ýÖ®ºó´óÊÜÆô·¢¡£ÖµµÃÒ»¿´£¡¿´À´ASP.NET¸úJSPÆäʵÊÇÒ»ÑùµÄ£¬±¾ÖÊÉÏÃ»Çø±ð£¬ASP.NETÄÜ×öµ½µÄJSPÒ»Ñù¿ÉÒÔ×öµ½£¬·´Ö®ÒàÈ»¡£Ö»²»¹ýASP.NETµÄ¿ò¼Ü¿´ÆðÀ´ÏȽøÒ»µã£¬²»¹ýJSPÒ²ÔÚ·¢Õ¹£¬ËƺõÒ²³öÏÖÁËÀàËÆASP.NETµÄ¿ò¼Ü¡£
¡¡¡¡Ò»¡¢·þÎñÆ÷½Å±¾»ù´¡½éÉÜ
¡¡¡¡Ê×ÏÈ£¬ÎÒÃÇÏȸ´Ï°Ò»ÏÂWeb·þÎñÆ÷Ò³ÃæµÄ»ù±¾Ö´Ðз½Ê½£º
¡¡¡¡ ......

c#(asp.net) updatepanel ¾Ö²¿Ë¢ÐÂʵÀýÊÕ²Ø

1
<asp:UpdatePanelID="UpdatePanel1"
        UpdateMode="Conditional"
        runat="server">
    <ContentTemplate>
        <asp:Button ID="Button1"
      ......

ºÚɫ΢Цѧasp.net£¨µÚÒ»¸ö.net³ÌÐò£©

  ºÚɫ΢Цѧasp.net£¨µÚÒ»¸ö.net³ÌÐò£©
ÏÈ¿´Ð§¹û£¨¼ÓÑÕÉ«´¿ÊôΪÁË¿´Çå³þÒ»µã£©£º
Ö´ÐÐǰ£º
Ö´Ðкó£º
ÔÙ¿´Ò»Ï´úÂ룺
ǰ̨£º
<body bgcolor="#ff00ff">
<form id="form1" runat="server">
<div>
 <asp:TextBox ID="TextBox1" runat="server" ForeColor="Blac ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ