string ser = "aaa";
Response.Write("window.open('details.aspx?serialno='"+this.ser+"','beginpage','width=200,height=100');");里面的字符串改怎么写啊

解决方案 »

  1.   

    不清楚你问的问题,
    是不是对string ser = "aaa";进行处理啊
      

  2.   

    是的,就是 open 里的字符串怎么写
      

  3.   

    Response.Write("window.open('details.aspx?serialno="+this.ser+"','beginpage','width=200,height=100');")
      

  4.   

    serialno='"+this.ser+"'=>serialno="+this.ser+"'
      

  5.   

     
    Sandy945 
    foren_whb
     还是不对,像你们那么些的话也是提示 并不包含对“ser”的定义
      

  6.   

    Response.Write("window.open('details.aspx?serialno="+ser+"','beginpage','width=200,height=100');")
      

  7.   

    不要加this,this引用的是类的成员,这个地方的string是一个局部变量
      

  8.   

    恩对了,谢谢  
    liuyileneal
    感谢 其他朋友