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

Asp.netµ¯³ö´°¿Ú´óÈ«

 
Dim strScript As String = "<Script Language='VBScript'>" &vbCrLf
strScript &= "opener.parent.document.location.href=""" &"../Individual/UserJobs.aspx?EntityTableID=" &Request("EntityTableID") &"&ListID=" &BLL.TableType.Entity &"&OrgID=" &Request("OrgID") &"&TableID=" &oRightGroupAccessTableView.TemplateTable.TableID &IIf(Request("RecordID") Is Nothing, "", "&RecordID=" &Request("RecordID")) &"""" &vbCrLf
strScript &= "</Script>" &vbCrLf
Response.Write(strScript)
//¹Ø±Õ,¸¸´°¿Úµ¯³ö¶Ô»°¿ò,×Ó´°¿ÚÖ±½Ó¹Ø±Õ
this.Response.Write("<script language=javascript>window.close();</script>");
//¹Ø±Õ,¸¸´°¿ÚºÍ×Ó´°¿Ú¶¼²»µ¯³ö¶Ô»°¿ò,Ö±½Ó¹Ø±Õ
this.Response.Write("<script>");
this.Response.Write("{top.opener =null;top.close();}");
this.Response.Write("</script>");
//µ¯³ö´°¿Úˢе±Ç°Ò³Ãæwidth=200 height=200²Ëµ¥¡£²Ëµ¥À¸,¹¤¾ßÌõ,µØÖ·À¸,״̬À¸È«Ã»ÓÐ
this.Response.Write("<script language=javascript>window.open('rows.aspx','newwindow','width=200,height=200')</script>");
//µ¯³ö´°¿Úˢе±Ç°Ò³Ãæ
this.Response.Write("<script language=javascript>window.open('rows.aspx')</script>");
this.Response.Write("<script>window.open('WebForm2.aspx','_blank');</script>");
//µ¯³öÌáʾ´°¿ÚÌøµ½webform2.aspxÒ³(ÔÚÒ»¸öIE´°¿ÚÖÐ)
this.Response.Write(" <script language=javascript>alert('×¢²á³É¹¦');window.window.location.href='WebForm2.aspx';</script> ");
//¹Ø±Õµ±Ç°×Ó´°¿Ú,ˢи¸´°¿Ú
this.Response.Write("<script>window.opener.location.href=window.opener.location.href;window.close();</script>");
this.Response.Write("<script>window.opener.location.replace(window.opener.document.referrer);window.close();</script>");
//×Ó´°¿Úˢи¸´°¿Ú
this.Response.Write("<script>window.opener.location.href=window.opener.location.href;</script>");
this.Response.Write("<script>window.opener.location.href='WebForm1


Ïà¹ØÎĵµ£º

Cache Management in ASP.NET

Introduction
Before explaining cache management in ASP.NET, let me clarify that different people use different terms for explaining the same concept i.e. managing data. Some people refer to it as state management and some others refer to it as cache management. I love to use the term cache manageme ......

¡¾ASP.NETרÌâ¡¿(1)——ASP.NET MVC³õ̽

ASP.NET MVC FrameworkÊÇ΢Èí¹Ù·½ÌṩµÄMVCģʽ±àдASP.NET WebÓ¦ÓóÌÐòµÄÒ»¸ö¿ò¼Ü.ÒÑÓÚ2009Äê3ÔÂ19ÈÕÕýʽ·¢²¼. MVC(Model-View-Controller)ÓÃÓÚ±íʾһÖÖÈí¼þ¼Ü¹¹Ä£Ê½.Ëü°ÑÈí¼þϵͳ·ÖΪÈý¸ö»ù±¾²¿·Ö:Ä£ÐÍ(Model),ÊÓͼ(View)ºÍ¿ØÖÆÆ÷(Controller). ¼ÈÈ»ÊÇÒ»¸öÓÅÐãµÄ¿ò¼Ü£¬ÄÇô¾ÍÖµµÃȥѧϰһ°Ñ£¬ÍøÉÏËÑË÷ÁËÐí¶à×ÊÁÏ£¬Ï£Íû¶ÔÓ ......

¡¾ASP.NETרÌâ¡¿(5)——ÈçºÎÏòView´«Öµ

ÉÏһƪÎÄÕÂÏêϸ½éÉÜÁËÈçºÎÀûÓÃASP.NET MVC´´½¨×Ô¼ºµÄÒ³Ãæ£¬ÔÚÎÄÕ½éÉÜÁËÈçºÎÀûÓÃViewDataÓÉControllerÏòViewÎļþ´«Öµ£¬ÄÇеÄÎÊÌâÔٴγöÏÖ£¬ÎÒÃdzýÁËÄÜÏÔʾaspxÎļþÍ⻹ÄÜÏÔʾÆäËüµÄÎļþô£¿
±¾ÎĽ«Ïêϸ½éÉÜÈçºÎÏòView´«Öµ¡£
Ò»¡¢ViewDataÓëTempDataÊôÐÔÀ´ÏòViewÒ³´«µÝ¶ÔÏó
ÉÏÎÄÖÐÒѾ­Ìáµ½,ʹÓÃViewData¿ÉÒÔ½«Êý¾ÝÓÉCont ......

ASP.NETÖжàѡЧ¹ûÓë¹â°ôЧ¹û£¨ÏÖʵ´úÂ룩

1£© ¶àѡЧ¹û
¶àѡЧ¹ûÍêÈ«¿ÉÒÔͨ¹ý½Å±¾½øÐÐʵÏÖ¡£ÎÒÃÇÖªµÀ£¬¶àÑ¡µÄ¿Ø¼þ×îÖÕÉú³ÉÒ»¸öinputµÄHTML±êÇ©£¬ËüµÄÀàÐÍÊÇcheckbox¡£ÓÉÓÚÕâ¸öÒ³ÃæÖÐÖ»ÓÐÒ»×鸴ѡ¿ò£¬ËùÒÔʵÏÖÆðÀ´Ò²±È½Ï·½±ã£ºÎÒÃÇ¿ÉÒÔ±éÀúËùÓеÄinput±êÇ©£¬¶Ô±ÈÆätypeÊôÐÔÊDz»ÊÇcheckbox£¬Èç¹ûÊÇcheckbox£¬¾Í¸øËüÉèÖÃÏàÓ¦µÄÑ¡ÖÐ״̬¾ÍÐÐÁË¡£
´úÂëÈçÏ£º
<scri ......

´¦ÀíÓзµ»ØÖµµÄºÍreturnµÄasp.netд·¨

 SqlConnection   conPortal   =   new   SqlConnection(CommunityGlobals.ConnectionString);  
                          SqlCommand   cmdAdd   =   new   SqlCommand(   "Community_Disc ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ