变量aaa="中国人"this.ClientScript.RegisterStartupScript(this.GetType(), "sch", "window.open('xtsch.aspx?id=" + aaa+ "', '', 'height=110, width=350, top=200, left=250, toolbar=no, menubar=no, scrollbars=yes, resizable=no,location=no, status=no')", true);到另一页面后,只剩下"中国"
string s=Request.QueryString.Get("id");
string s=Request.QueryString.Get("id");
解决方案 »
- 求带编辑器的新闻发布
- 如何控制gridview显示Bit类型的字段 按照0,1的格式显示
- VS.net 与 Asp.net 与 .net framework都是什么概念?我都模糊了.VS.net=Asp.net吗?
- 如何用vb.net实现如下的问题,给出代码
- 动态图表问题~~?
- textbox能显示回车空格,怎么label就不行了?
- 寻ASP.net开发人员,QQ:4804840
- 请问怎么给一个按钮绑定回车键?
- 请教:关于用户控件引用的问题 急!!!
- 各位高手。高分相送!在datalist控件是否支持radiobuttonlist控件?如果支持,该如何实现?
- 求一个函数或代码:弹出让用户确认的窗口,并根据用户的选择返回不同的值。
- 请教个问题?
url="description.aspx?name="+Server.UrlEncode(myname.text)
response.redirect(url)接收的时候:
name=Server.UrlDecode(Request.QueryString("name"))
{
var bbb=escape(aaa);
window.open('xtsch.aspx?id=" + bbb+ "', '', 'height=110, width=350, top=200, left=250, toolbar=no, menubar=no, scrollbars=yes, resizable=no,location=no, status=no');}
在cs文件调用:
this.ClientScript.RegisterStartupScript(this.GetType(), "sch", "openwin("+ aaa +")", true);
在webconfig中加上
<globalization
requestEncoding="gb2312"
responseEncoding="gb2312"
/>