zuojck

2007-01-31C#研究

1:enableViewState="false"
2:STYLE="background-repeat: repeat-x"
3:Response.Redirect((new StringBuilder(PageBase.UrlBase))
                           .Append("/searchresults.aspx?type=")
                           .Append(index)
                           .Append("&fullType=")
                           .Append(Server.HtmlEncode(SearchDropDownList.Items[index].Text))
                           .Append("&text=")
                           .Append(Server.UrlEncode(searchText)).ToString(), false);
      System.Text.StringBuilder js= new System.Text.StringBuilder();
      js.Append("/searchresults.aspx?type=");
      js.Append(index);
      js.Append("&fullType=");
      js.Append(Server.HtmlEncode(SearchDropDownList.Items[index].Text));
      js.Append("&text=");
      js.Append(Server.UrlEncode(searchText));
      Response.Redirect((new StringBuilder(PageBase.UrlBase))+js.ToString(),false);
      "http://localhost/Duwamish7/searchresults.aspx?type=0&fullType=Title&text=up"
4:window.opener;返回打开本窗口的窗口对象

posted on 2007-02-01 10:32  zuojck  阅读(131)  评论(0)    收藏  举报

导航