回到历史页面

View Code
 1  /// <summary>
2 /// 回到历史页面
3 /// </summary>
4 /// <param name="value">-1/1</param>
5 public static void GoHistory(int value)
6 {
7 #region
8 string js = @"<Script language='JavaScript'>
9 history.go({0});
10 </Script>";
11 HttpContext.Current.Response.Write(string.Format(js, value));
12 #endregion
13 }

 

posted @ 2012-01-29 10:05  名字随意  阅读(112)  评论(0编辑  收藏  举报