Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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ͼƬµÁÁ´ÎÊÌâ


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

ASP.NETÎļþÉÏ´«ÏÂÔØ

ÏÂÔØÎļþ£ºstring musicUrl = "music/" + Request.QueryString["murl"].ToString();
string fileName = Request.QueryString["murl"].ToString();
string filePath = Server.MapPath(musicUrl);//·¾¶
FileInfo fileInfo = new FileInfo(filePath);
Response.Clear();
Response.Cl ......

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ʹÓÃajaxÎÞË¢ÐÂÉÏ´«Îļþ£¨¸½Ô´Â룩

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