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

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

1
<asp:UpdatePanelID="UpdatePanel1"
        UpdateMode="Conditional"
        runat="server">
    <ContentTemplate>
        <asp:Button ID="Button1"
            Text="RefreshPanel"
            runat="server"/>
    </ContentTemplate>
</asp:UpdatePanel>
2
<%@ Register Assembly="Microsoft.Web.Atlas" Namespace="Microsoft.Web.UI" TagPrefix="cc1" %>
    <cc1:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="True">
    </cc1:ScriptManager>
<asp:DropDownList ID="aaa" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlthumbnail_SelectedIndexChanged">
                        </asp:DropDownList>
                        <cc1:UpdatePanel ID="UpdatePanel1" runat="server">
                            <ContentTemplate>
                                <asp:Label ID="lblatnail" runat="server" Text="" Visible=false></asp:Label>
                                <asp:LinkButton ID="lbtnatnail" runat="server" Visible=false>View</asp:LinkButton>&


Ïà¹ØÎĵµ£º

ASP.NETÖÐʵÏÖÄ£°æµÄ¶¯Ì¬¼ÓÔØ


ASP.NETÖУ¬¾­³£»áʹÓõ½templates(Ä£°æ)¹¦ÄÜ£¬±ÈÈçÔÚdatagrid£¬datalist£¬repeaterµÈ¿Ø¼þÖУ¬Ê¹ÓÃtemplates£¬½«»á´ó´óÔöÇ¿Æ书ÄÜ¡£ÒÔÍù£¬ÎÒÃÇÒ»°ãÊÇÔÚÉè¼Æ³ÌÐòʱ£¬¾ÍÒѾ­ÉèÖúÿؼþÖеÄÄ£°æÊÇÔõÑùµÄÁË¡£µ«ÊÇ£¬ÓеÄʱºò£¬¿ÉÄÜÎÒÃÇÐèÒª¶¯Ì¬¼ÓÔØÄ£°æ£¬±ÈÈ磬µ±ÄãÒªÇóÄãµÄÓ¦ÓóÌÐòµÄ½çÃæ·ç¸ñËæ×ÅÓû§µÄÐèÇó¶ø±ä»¯Ê±£¬Äã¾ÍÐèÒ ......

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 ......

SilverlightÓ¦ÓóÌÐòÖÐÈçºÎ»ñÈ¡ASP.NETÒ³Ãæ²ÎÊý

ÐèÇó
ÈçÏÂÃæµÄÏîÄ¿½á¹¹£¬ÎÒÃÇ»áÔÚDefault.aspxÒ³ÃæÖÐÐèÒª´«µÝÁ½¸öÖµµ½SilverlightTestPage.aspxÒ³Ã棬²¢ÇÒÐèÒªÔÚSilverlightTestPage.aspxÒ³ÃæËùËÞÖ÷µÄSilverlightÓ¦ÓóÌÐòÖлñÈ¡²¢ÏÔʾ£º
1.ÏÈÐÞ¸Äpage µÄ¹¹Ô캯Êý
public Page(string passText)
{
    InitializeComponent();
 & ......

asp.netÖ§³Ö´óÎļþÉÏ´« NeatUpload

1.ÔÚ¹¤¾ßÏäÖÐÌí¼ÓBrettle.Web.NeatUpload.dll£¬¿ÉÒÔ¿´µ½¹¤¾ßÏäÖгöÏÖInputFileµÈ¿Ø¼þ¡£
2.¸´ÖÆÎļþ¼ÐNeatUploadµ½¸ùĿ¼.
3.ÍÏ·ÅʹÓÃÉÏ´«¿Ø¼þInputFileºÍ½ø¶ÈÌõProgressBar,Ìí¼ÓÉÏ´«ÎļþµÄ°´Å¥.aspxÒ³Ãæ´úÂëÈçÏ£º
<body>
<form id="form1" runat="server">
<div>
<upload: ......

Asp.netÖжàÓïÑÔµÄʵÏÖ

1.Ê×ÏȵÃÏÈÁ˽âÏÂÃæµÄ֪ʶ£º
  
   Á˽âÒ»¸öÃû´Ê:±í´ïʽÓï·¨
   ±í´ïʽÓï·¨¸ñʽ£º<%$ ... %>
   ËüÊÇASP.NET2.0ÐÂÔöÁËÒ»ÖÖÉùÃ÷ÐÔ±í´ïʽÓï·¨£¬¿ÉÔÚ·ÖÎöҳ֮ǰ½«ÖµÌæ»»µ½Ò³ÖÐ.
   ASP.NET±í´ïʽÊÇ»ùÓÚÔËÐÐʱ¼ÆËãµÄÐÅÏ¢ÉèÖÿؼþÊôÐÔµÄÒ»ÖÖÉùÃ÷ÐÔ·½Ê½.
&n ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ