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

ASP.NETµÄºóÖôúÂëÖе¯³ö¿Í»§¶ËµÄ¶Ô»°¿ò

1. Response.Write("<script>alert('µ¯¶ÔµÄÄÚÈÝ£¡£¡');</script>");   //µ¯³öʱҳÃæΪ¿Õ°×É«,×îºÃ²»ÒªÓÃÕâÒ»ÖÖ
2. Page.ClientScript.RegisterStartupScript(this.GetType(),"","<script>alert('µ¯¶ÔµÄÄÚÈÝ£¡£¡');</script>"); //ûÓÐÓõ½ÎÞˢпؼþʱÓÃ
3. ScriptManager.RegisterClientScriptBlock(updatePanelName,"","click","alert('µ¯³öµÄÄÚÈÝ£¡£¡');");  //Óõ½Ë¢Ð¿ؼþÊÇÓÃ(updatePanelName:ÊÇPanel µÄÃû×Ö)


Ïà¹ØÎĵµ£º

ASP.NET 2.0·¢Ë͵ç×ÓÓʼþÖдæÔÚµÄÎÊÌâ

  ³ö´¦£º Ì켫yesky ×÷ÕߣºÖìÏÈÖÒ±àÒë ʱ¼ä£º2006-11-15 11:26:00
ÔÚз¢ÐеÄASP.NET 2.0°æ±¾ÖУ¬Î¢Èí²»ÔÙ½¨ÒéʹÓÃSystem.Web.MailÃüÃû¿Õ¼ä¶ø´úÖ®ÒÔеÄSystem.Net.MailÃüÃû¿Õ¼ä¡£ÔÚÕâ¸öпâÖÐÒýÈëÁËÐí¶àÐÂÌØÕ÷£¬µ«ÊÇÔÚ·¢ËÍÓʼþµÄ·½Ê½·½ÃæÒ²ÏàÓ¦µØ´øÈëÁËһЩС´íÎó¡£
Ò»¡¢ ·¢ËÍÓʼþ
ÔÚÏêϸÌÖÂÛÕ ......

ASP.NET 2.0·¢Ë͵ç×ÓÓʼþÈ«ÃæÆÊÎöÖ®¶þ

  ³ö´¦£ºÌ켫Íø ×÷ÕߣºÖìÏÈÖÒ±àÒë ʱ¼ä£º2006-9-25 9:36:00
  Ò»¡¢¼ò½é
ÔÚÉÏƪÖÐÎÒÃÇÏêϸ·ÖÎö¹ý£¬.NET¿ò¼Ü2.0°æ±¾ÌṩÁËÒ»¸öеÄÃüÃû¿Õ¼ä(System.Net.Mail)ºÍһЩ·¢Ë͵ç×ÓÓʼþµÄÐÂÀà(×¢Ò⣺.NET¿ò¼Ü1.x°æ±¾ÖÐÌṩµÄÃüÃû¿Õ¼äSystem.Web.Mail¼°Ïà¹ØµÄÀàÈÔÈ»¿ÉÒÔʹÓã¬ÒÔʵÏÖÏòºó¼æÈÝÐÔ)¡£¶øÇÒ£¬ÎÒÃÇ ......

asp.net¶ÁÈ¡EXcelµÄСÌÖÂÛ

ÔÚCSÎļþÖУ¬Ê×ÏÈÔÚ¶¥²¿ÒýÈë²Ù×÷ExcelÊý¾ÝµÄÃüÃû¿Õ¼ä
using System.Data.OleDb;
Õýʽ´úÂëÈçÏ£º
    private void Button_Click(object sender, System.EventArgs e)
    {
        string thefullname = this.uploadFile.PostedFile.FileName;//»ñ ......

ASP.NET ÈçºÎ£ºÒÔ±à³Ì·½Ê½ÑéÖ¤ ASP.NET ·þÎñÆ÷¿Ø¼þ


      ĬÈÏÇé¿öÏ£¬ÔÚÒ³»Ø·¢µ½·þÎñÆ÷ʱ¡¢Ò³³õʼ»¯Ö®ºó£¨¼´ÊÓͼ״̬ºÍ»Ø·¢Êý¾ÝÒÑ´¦ÀíÖ®ºó£©ºÍµ÷ÓÃʼþ´¦Àí´úÂë֮ǰ£¬ASP.NET ÑéÖ¤¿Ø¼þ½«×Ô¶¯Ö´ÐÐÑéÖ¤¡£Èç¹ûä¯ÀÀÆ÷Ö§³Ö¿Í»§¶Ë½Å±¾£¬¿Ø¼þÒ²¿ÉÒÔÔÚä¯ÀÀÆ÷ÖÐÖ´ÐÐÑéÖ¤¡£
µ«ÊÇ£¬ÓÐʱÄú¿ÉÄÜÐèÒªÒÔ±à³Ì·½Ê½Ö´ÐÐÑéÖ¤¡£ÔÚÒÔÏÂÇé¿öÏ£¬Äú¿ÉÄÜÐèҪͨ¹ý±à³ÌÀ´½ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ