All articles(网络文学目录) All Pictures(图片目录) All Softwares(软件目录)

 
C#,中返回上一页问题代码_[Asp.Net教程]

Writer: delv Article type: Programming skills(编程技巧) Time: 2014/1/6 9:05:50 Browse times: 375 Comment times: 0

C#,中返回上一页问题代码_[Asp.Net教程]


Head photo

Go homepage
Upload pictures
Write articles

C# 中返回上一页问题代码_[Asp.Net教程]























在C# Web程序中,如为页面按钮写返回上一页代码




this.RegisterClientScriptBlock("E", "");




其中,history.go(-2),要写为-2,因在按钮事件触发前,已刷新一次页面,所以应是-2。




Response.Write("");




此处也要写为“-2”。跟直接写脚本的有所不同。




来源:网络














































There are 0 records,
Comment:
Must be registered users to comment(必须是注册用户才能发表评论)

Disclaimer Privacy Policy About us Site Map
Copyright ©2011-
uuhomepage.com, Inc. All rights reserved.