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

Asp.netʵÏÖÎÞˢе¯³öÌáʾ¿ò

<form id="form1" runat="server"> 
    <asp:ScriptManager ID="ScriptManager1" runat="server"> 
    </asp:ScriptManager> 
    <div> 
        <asp:UpdatePanel ID="UpdatePanel1" runat="server"> 
        <ContentTemplate> 
            <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> 
            <asp:Button ID="Button1" 
                runat="server" Text="Button" onclick="Button1_Click" /> 
        </ContentTemplate> 
        </asp:UpdatePanel> 
    </div> 
    </form> 
      protected void Button1_Click(object sender, EventArgs e)   
       {   
           ScriptManager.RegisterStartupScript(UpdatePanel1, UpdatePanel1.GetType(), "", "alert('ÎÒ³öÀ´ÁË');", true);   
       }  
ajax²»ÄÜʹÓÃResponse.write("alert(aaa)");ÓÃÕâÖÖ·½Ê½À´µ¯³ö¶Ô»°¿òÁË
ajax²»ÊÇasp.netÄÚÖõĶ«Î÷
±ØÐëµÃʹÓÃ×Ô¼º±¾ÉíÀ´×¢²á½Å±¾µÄ·½Ê½À´ÊµÏÖ£¡


Ïà¹ØÎĵµ£º

asp.netÐÔÄÜÓÅ»¯µÄ¼¸¸ö·½Ãæ

c#£¨»òvb.net£©³ÌÐò¸Ä½ø
1¡¢Ê¹ÓÃÖµÀàÐ͵ÄToString·½·¨
¡¡¡¡ÔÚÁ¬½Ó×Ö·û´®Ê±£¬¾­³£Ê¹ÓÃ"+"ºÅÖ±½Ó½«Êý×ÖÌí¼Óµ½×Ö·û´®ÖС£ÕâÖÖ·½·¨ËäÈ»¼òµ¥£¬Ò²¿ÉÒԵõ½ÕýÈ·½á¹û£¬µ«ÊÇÓÉÓÚÉæ¼°µ½²»Í¬µÄÊý¾ÝÀàÐÍ£¬Êý×ÖÐèҪͨ¹ý×°Ïä²Ù×÷ת»¯ÎªÒýÓÃÀàÐͲſÉÒÔÌí¼Óµ½×Ö·û´®ÖС£µ«ÊÇ×°Ïä²Ù×÷¶ÔÐÔÄÜÓ°Ïì½Ï´ó£¬ÒòΪÔÚ½øÐÐÕâÀà´¦Àíʱ£¬½«ÔÚÍйܶÑÖÐ ......

Ïê½âASP.NET»º´æµÄ¹¤×÷Ô­Àí

ÕâÀïÎÒÃǽ«½éÉÜASP.NET»º´æµÄ¹¤×÷Ô­Àí£¬°üÀ¨¼òµ¥µÄ¶¨Ò壬Êý¾Ý»º´æÒÔ¼°»º´æµÄÉèÖõȵÈÄÚÈÝ¡£Ï£Íû±¾ÎÄÄܶԴó¼Ò½ñºóµÄ¹¤×÷ÓÐËù°ïÖú¡£
ÈçºÎ±ÜÃâASP.NET»º´æÕ¼ÓÃϵͳ×ÊÔ´
ÔÙ̸ASP.NET»º´æ»úÖÆ£º¿ª·¢Ð§ÂÊÓëÓÅ»¯µÄ..
ASP.NET»º´æ»úÖÆ»ù´¡¸ÅÄî
ASP.NET»º´æÊý¾ÝÌí¼Ó·½·¨Ò»ÀÀ
ASP.NET»º´æÊý¾Ý¼¼ÇÉÈýÔò
½éÉÜ
»º´æÊÇÔÚÄÚ´æ´ ......

ASP.NET MVCÖеÄÑéÖ¤

1.¼òµ¥ÑéÖ¤
ÔÚASP.Net MVCÖУ¬ÑéÖ¤ÊÇÔÚController²ã£¬¶ø´íÎó³ÊÏÖÊÇÔÚView²ã£¬Controller²ãÊÇͨ¹ýModelStateÊôÐÔ½øÐÐÑéÖ¤µÄ,ModelStateµÄ״̬ÊÇͨ¹ýAddModelError()·½·¨½øÐÐ Ìí¼ÓµÄ¡£
¶øÔÚView²ã£¬ÊÇͨ¹ýHtmlµÄ¸¨Öú·½·¨½øÐгÊÏֵģ¬ÕâÁ½¸ö¸¨Öú·½·¨·Ö±ðÊÇ
Html.ValidationMessage()
Html.ValidationSummary()
Controller ......

½«jQueryÓ¦ÓÃÓÚAsp.net Ajaxʱ£¬Ó¦±ÜÃâµÄ3¸ö´íÎó

3 mistakes to avoid when using jQuery with ASP.NET AJAX
AJAX, ASP.NET, JavaScript, jQuery By Dave Ward on June 5th, 2008
Over the past few weeks, I think I have definitely embodied Jeff Atwood’s claim that we’re all amateurs, learning together. Despite my best efforts to thoroughly tes ......

asp.net µ¼³öExcel·½·¨»ã×Ü

µÚÒ»ÖÖ£ºÐèÒªÒýÓÃcom £ºmicrosoft.excel.11.0.
//Éú³ÉExcelÎļþµÄ´úÂë
protected void ExportExcel()
{
Microsoft.Office.Interop.Excel.Application excel = new Microsoft.Office.Interop.Excel.Application();
Microsoft.Office.Interop.Excel.Workbook wb = excel.Workbo ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ