aspx前台:
<asp:Button ID="Button1" runat="server" Text="打印"
PostBackUrl="http://localhost:8080/WebReport/ReportServer?reportlet=WorkBook1.cpt&id=<%=abc%>"
/>
C#后台:
protected int abc;
protected void Page_Load(object sender, EventArgs e)
{
abc = 197;
Response.Write(abc);
}
运行后提示:
错误:select * from jhsq where id=
请问怎么才是对的
|