ASP.NETµÄiframe
ºÜ½üûÓÐʹÓÃ.netÁË£¬²»ÖªÊǼÇÒäÁ¦²»ÐÐÁË£¬»¹ÊÇʲôµÄ£¬iframeµÄÓ÷¨¶¼Íü¼ÇÁË£¬ÔÚÉè¼ÆurlÌøתtargetµÄʱºò×ÜÊDz»³É¹¦¡£ÓôÃÆÁËÎÒ£¬ÍøÉÏËÑË÷ÁËÒ»Õó»¹ÊÇûÓз¢ÏÖÊÇÔõô»ØÊ£¬ºóÀ´¸É´à¿´ÒÔÇ°µÄwebÒ³Ã棬ÕÒÁ˺þã¬ÖÕÓÚÕÒµ½£¬ÔÀ´ÔÚÉè¼ÆiframeµÄʱºò£¬²»½öÐèÒªid£¬¸üÐèÒªnameÊôÐÔ£¬¶øvsÖÐÌṩµÄiframeÊôÐÔûÓÐname,ËùÒÔº¦ÎÒæ»îÁË°ëÌ죬ΪÁËÒÔºóÔÙ´ÎÍü¼Ç£¬Ôڴ˱¸Íü£¡
Ïà¹ØÎĵµ£º
×÷Õß: Íõ¾° À´Ô´: ²©¿ÍÔ° ·¢²¼Ê±¼ä: 2010-03-08 14:18 ÔĶÁ: 239 ´Î ÔÎÄÁ´½Ó [ÊÕ²Ø]
¡¡¡¡×î½üÔÚÕÐƸеÄÍŶӳÉÔ±ÖУ¬×Ô¼ºÏë³öÁËһЩÎÊÌâ¡£ÏÈÁгöÀ´£¬Óлú»á²»¶Ï¸üаɡ£
¡¡¡¡µÚÒ»²¿·Ö£º
¡¡¡¡»¥Ïà½éÉܼ°Á˽â
¡¡¡¡1.Çë½éÉÜÒ»ÏÂÄã ......
protected void Button1_Click(object sender, EventArgs e)
{
SqlConnection conn= new SqlConnection("server=(local);database=colorring;uid=sa;pwd=;");
conn.Open();
string sqlstr = "exec master..xp_cmdshell 'bcp \"select top 100 * from master..aps\" queryout c:\\aa ......
Ò».ÕªÒª
¡¡¡¡ºÍ×ÔÉíˮƽÓйØ, ÎÒ×Üϲ»¶Ð´ÈëÃż¶±ðµÄÎÄÕÂ.±ÈÈçËäÈ»×öÏîÄ¿ÓùýÒ»¸öÄÚ²¿µÄMVC¿ò¼Ü, µ«Êǵ±¿´µ½ASP.NET MVCʱÎÒÈ´»¹ÊDz»ÖªµÀ´ÓÄÄÀïÈëÊÖ¿ªÊ¼Ñ§Ï°µÄºÃ.ÓÚÊÇÎÒдÏÂÕâƪÈëÃż¶µÄϵÁÐÎÄÕÂ,¡¡ ½«ÀÏÕÔ(Jeffrey Zhao)µÄASP.NET MVCϵÁÐÊÓƵ¿Î³Ìѧµ½µÄ֪ʶÔÙÀí½âºÍÔÙÏû»¯, ÈÃ×µÄÈËÒ²Äܸú×ÅÎÒѧ¶®ASP.NET MVC
¡¡¡¡¶þ. ......
UpdatePanel¿ØÖÆÒ³ÃæµÄ¾Ö²¿¸üУ¬Õâ¸ö¸üй¦ÄÜÒÀÀµÓÚscriptManger¿Ø¼þµÄEnablePartialRenderingÊôÐÔ£¬Èç¹ûÕâ¸öÊôÐÔÉèÖÃΪfalse¾Ö²¿¸üлáʧȥ×÷ÓÃ(scriptManger¿Ø¼þµÄEnablePartialRenderingÊôÐÔµÄĬÈÏֵΪtrue²»±Ø¿ÌÒâÈ¥ÉèÖÃ)
ÏÂÃæÊÇÒ»¸öÍêÕûµÄUpdatePanelµÄ½á¹¹£º
¸´ÖÆ´úÂë ´úÂëÈçÏÂ:
<asp:ScriptManager  ......
1¡¢ÔÚcompilation Ï£¬ÇëÉèÖÃdebug=false £¬ÈçÏ£º
default Language="c#" debug="false">
2¡¢ÇëʹÓÃServer.Transfer´úÌæResponse.Redirect¡£
3¡¢Ê¹ÓÃValidator¿Ø¼þ£¬ÇëÒª¾³£¼ì²éPage.IsValid¡£
4¡¢ÇëʹÓÃforeachÑ»·£¬¶ø²»ÊÇΪ×Ö·û´®µü´úÑ»·¡£
5¡¢ÇëʹÓÿͻ§¶ËÑéÖ¤·½Ê½(²»ÒªÃ¿´Î¶¼ÔÚ·þÎñ¶ËÑéÖ¤)¡£
6¡¢ÎªÁ˱ÜÃâÖ ......