C# 如何在窗口中传递多个查询字符串。在asp.net中打开
我想在C# 如何在窗口中传递多个查询字符串。在asp.net中打开,c#,asp.net,C#,Asp.net,我想在窗口中传递多个查询。打开。 我可以在查询字符串中发送一个变量, 但在发送两个变量时。 通过URL传递的数据无效 Response.Write("<script>"); Response.Write("window.open('NewQuote.aspx?val=" + this.txtQuotationNo.Text +" &uid= + this.uniqueid','_blank')"); Response.Write("</script>
窗口中传递多个查询。打开。
我可以在查询字符串中发送一个变量,
但在发送两个变量时。
通过URL传递的数据无效
Response.Write("<script>");
Response.Write("window.open('NewQuote.aspx?val=" + this.txtQuotationNo.Text +" &uid= + this.uniqueid','_blank')");
Response.Write("</script>");
o/p NewQuote.aspx?val=KST-HYD/15-116/001/G%20%20&uid=%20+%20this.uniqueid
Response.Write(“”);
Response.Write(“window.open('NewQuote.aspx?val=“+this.txtQuotationNo.Text+”&uid=+this.uniqueid','u blank');
回答。写(“”);
o/p NewQuote.aspx?val=KST-HYD/15-116/001/G%20%20&uid=%20+%20this.uniqueid
更正引号:
Response.Write("window.open('NewQuote.aspx?val=" + this.txtQuotationNo.Text + "&uid=" + this.uniqueid + "','_blank')");