Roc

张开透明思想,朝着月亮飞翔
在cs代码中实现新窗口(_blank)中打开
在cs代码中实现新窗口(_blank)中打开:
string ID = ***;
string s = String.Format("<script>window.open('yoururl.aspx?ID=
{0}','_blank');</script>",ID);
            Response.Write(s);
//或者
string s = String.Format("<script>window.open('yoururl.aspx?ID=
{0}');</script>",ID);
            Response.Write(s);
参数(ID)和URL就可以根据自己定制;

posted on 2007-01-29 11:25  roc  阅读(387)  评论(0编辑  收藏  举报