如何给username带参数?
string username = reader["username"].ToString();
this.Response.Write("<script>top.location.href='three.aspx?username='; </script>");
string username = reader["username"].ToString();
this.Response.Write("<script>top.location.href='three.aspx?username='; </script>");
解决方案 »
- AutoCompleteExtender问题
- 大家来帮下忙阿!asp.net如何将查询出数据库的个字段内容显示在一个table表中?
- GridView中Checkbox操作数据库的问题
- 在线等待,急!GridView1里加DropDownList1的问题!
- 关于WEB 应用程序和网站的区别.
- .NET中的递归
- 各位大哥,大姐帮我看看,datagrid删除按钮事件为什么不弹出提示框
- 关于DataGrid显示数据的一个郁闷的问题,昨晚已经苦想一夜了,没招,上网求教,看者均有分!
- 谁来帮我解决一下DropDownList的问题
- 做为一个IT管理者最重要的是什么?
- UpdatePanel实现Repeater aspnetpager无刷新分页
- 请问如何让repater控件下的tr一行变色
this.Response.Write(string.Format("<script>top.location.href='three.aspx?username={0}'; </script>",'参数名称变量'));
Response.Redirect("three.aspx?username="+reader["username"].ToString());
string strValue = "abcd";
Response.Write("<script>top.location.href='Test2.aspx?username="+ strValue +"'</script>");