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

asp.net ·¢ËÍÓʼþ

web.config
    <system.net>
        <mailSettings>
            <smtp deliveryMethod="Network" from="mymail&lt;you@163.com&gt;">
                <network host="smtp.163.com" />
            </smtp>
        </mailSettings>
    </system.net>
C#
        try
        {
            MailAddress from = new MailAddress("mymail@163.com");
            MailAddress to = new MailAddress("mymail@163.com");
            MailMessage message = new MailMessage(from, to);
            message.Subject = "Test Message";//·¢ËÍÓʼþµÄ±êÌâ
            message.Body = "yuanyouchun";//·¢ËÍÓʼþµÄÄÚÈÝ
            //if (FileUpload1.PostedFile.FileName != "")
            //{//·¢Ë͸½¼þ
            // Attachment att = new Attachment(FileUpload1.PostedFile.FileName);
            // message.Attachments.Add(att);
            //}
            SmtpClient client = new SmtpClient("smtp.163.com");
            client.UseDefaultCredentials = false;


Ïà¹ØÎĵµ£º

asp.net Îļþ¼Ð²Ù×÷£¨´´½¨£¬É¾³ý£¬±éÀú)

Ò»¡¢´´½¨Îļþ¼Ð
#region ´´½¨Îļþ¼Ð
    /// <summary>
    /// Self_Function:´´½¨Îļþ¼Ð
    /// </summary>
    /// <param name="path">´´½¨Îļþ¼ÐµÄ·¾¶</param>
    /// <param name="noyes">Òþ²ØÎ ......

Asp.netÖеÄAJAX¿Ø¼þ


Accordion¿Ø¼þʱµÄ³£ÓÃÊôÐÔ±êÇ©
ÊôÐÔ±êÇ©Ãû Ãè¡¡¡¡Êö
SelectedIndex ¸Ã¿Ø¼þ³õ´Î¼ÓÔØʱչ¿ªµÄAccordionPaneÃæ°åµÄË÷ÒýÖµ
HeaderCssClass ¸ÃAccordionÖаüº¬µÄËùÓÐAccordionPaneÃæ°åµÄ±êÌâÇøÓòËùÓ¦ÓõÄCSS Class
ContentCssClass ¸ÃAccordionÖаüº¬µÄËùÓÐAccordionPaneÃæ°åµÄÄÚÈÝÇøÓòËùÓ¦ÓõÄCSS Class
AutoSize Ô ......

ASP.NET¼¼ÊõµÄѧϰ˳ÐòÎÊÌâ

Ç°Ç°ºóºóÊÕµ½¹ýһЩѧÉúµÄÀ´ÐÅ£¬Ñ¯ÎÊASP.NETµÄѧϰ˳ÐòÎÊÌ⣬Ôڴ˾ÍÏò´òËãϵͳѧϰASP.NET¼¼ÊõµÄ³õѧÕß̸̸ÎҵĽ¨Òé¡£
 
Èç¹ûÄãÒѾ­Óн϶àµÄÃæÏò¶ÔÏ󿪷¢¾­Ñ飬Ìø¹ýÒÔÏÂÕâÁ½²½£º
µÚÒ»²½¡¡ÕÆÎÕÒ»ÃÅ.NETÃæÏò¶ÔÏóÓïÑÔ£¬C££»òVB.NET¡£
       ÎÒÇ¿ÁÒ·´¶ÔÔÚûϵͳѧ¹ýÒ»ÃÅÃæÏò¶ÔÏó£¨OO£© ......

Asp.Net ButtonµÄUseSubmitBehaviorÊôÐÔ

ÔÚijҳÃæÉÏÓÐÈçÏÂÐÅÏ¢£¬
Html£¬
<asp:Button ID="btn" runat="server" Text="Click me" OnClick="ButtonClicked" />
<script language="javascript">
function javascriptMethod() {
alert(1);
}

</script>
C#£¬
protected void ButtonClic ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ