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

ʹÓÃASP.NETÉÏ´«Í¼Æ¬»ã×Ü

1 ʹÓñê×¼HTMLÀ´½øÐÐͼƬÉÏ´«
ǰ̨´úÂ룺
<body> 
    <form id="form1" runat="server"> 
    <div> 
        <table> 
            <tr> 
                <td colspan="2" style="height: 21px" > 
                    Ê¹Óñê×¼HTMLÀ´½øÐÐͼƬÉÏ´«</td> 
            </tr> 
            <tr> 
                <td style="width: 400px"> 
                    <input id="InputFile" style="width: 399px" type="file" runat="server" /></td> 
                <td style="width: 80px"> 
                    <asp:Button ID="UploadButton" runat="server" Text="ÉÏ´«Í¼Æ¬" OnClick="UploadButton_Click" /></td> 
            </tr> 
            <tr> 
                <td colspan="2" > 
    &n


Ïà¹ØÎĵµ£º

ASP.NETµ¯³öÈ·ÈÏ´°¿Ú

ÔÚASP.NET 1.1ÖУ¬Òª×ö1¸öµ¯³öµÄÈ·È϶Ի°¿òµÄ»°£¬Ò»°ãÊÇÔÚ·þÎñ¶ËµÄ´úÂëÖÐÕâÑùд£º
private void Page_Load(object sender, System.EventArgs e)
{
    btnClick.Attributes.Add("onclick", "return confirm('Are you sure?');");
    // Button1.Attributes["OnClick"] = "return conf ......

Asp.NetÒ³ÃæÌøתµÄ·½·¨ÒÔ¼°JSÌøתµÄ·½·¨

<a>±êÇ©
1.         <a href=”test.aspx”></a>
2.         ÕâÊÇ×î³£¼ûµÄÒ»ÖÖתÏò·½·¨;
 
HyperLink¿Ø¼þ
1.         Asp.net ·þÎñÆ÷¶Ë¿Ø¼þ ÊôÐÔNaviga ......

ASP.NET ±àÒëºÍ²¿Êð

ÏîÄ¿ºÍÍøÕ¾µÄÇø±ð
ÏîÄ¿±àÒë³Édll£¬Íøվͨ¹ý“·¢²¼ÍøÕ¾”À´²¿Êð
²¿ÊðÄ¿µÄµØ£º/binĿ¼ÏÂ
7¸ö¶¥¼¶Ä¿Â¼¼°Æä±àÒëÇé¿ö
ÈýÖÖ²¿Êð·½Ê½¼°Æä³ÌÐò¼¯Éú³ÉÇé¿ö  £¨³ÌÐò¼¯Ó°×Ó¿½±´£©
¶¨ÖƳÌÐò¼¯Éú³É£º
<compilation>
<codeSubDirectories>
<add directoryName="vb_components"/ ......

ASP.NET»º´æ


          Ò³ÃæÊä³ö»º´æ×÷Ϊ×î¼òµ¥µÄ»º´æÐÎʽ£¬Êä³ö»º´æÖ»ÊÇÔÚÄÚ´æÖб£ÁôΪÏìÓ¦ÇëÇó¶ø·¢Ë굀 HTML µÄ¸±±¾¡£ÆäºóÔÙÓÐÇëÇóʱ½«Ìṩ»º´æµÄÊä³ö£¬Ö±µ½»º´æµ½ÆÚ£¬ÕâÑù£¬ÐÔÄÜÓпÉÄܵõ½ºÜ´óµÄÌá¸ß£¨È¡¾öÓÚÐèÒª¶àÉÙ¿ªÏúÀ´´´½¨Ô­Ê¼Ò³ÃæÊä³ö - ·¢ËÍ»º´æµÄÊä³ö×ÜÊǺܿ죬²¢ÇұȽ ......

ASP.NETµ¥ÖµºÍÁбí¿Ø¼þµÄÊý¾Ý°ó¶¨

Ò»¡¢(µ¥Öµ°ó¶¨)ÔÚÒ³ÃæµÄºǫ́´úÂëÖж¨Ò幫ÓбäÁ¿,ÈçÏ£º
 public string gongYou = "ÉùÃ÷µÄ¹«ÓгÉÔ±";
¡¡¢ÙÈ»ºóÔÚÒ³ÃæµÄÔ´Öе÷Óã¬ÈçÏ£º
<asp:Label ID="lblMgs" runat="server" Text="<%#gongYou >"></asp:Label>
¡¡ ¢Úµ±È»×îºóÒª¼ÇµÃ°ó¶¨Êý¾Ý£º
 protected void Page_Load(object ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ