i have ReportViewer1 in Report1.aspx with uri= Report1.trdx wich have int parameter "si"
in code page of Report1.aspx.cs i write :
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
//Telerik.Reporting.UriReportSource uriReportSource = new Telerik.Reporting.UriReportSource();
//uriReportSource.Uri = "Report1.trdx";
//Int32 ss = (int)(Session["u_id"]);
//uriReportSource.Parameters.Add(new Telerik.Reporting.Parameter("si", ss.ToString()));
Telerik.Reporting.TypeReportSource typeReportSource = new Telerik.Reporting.TypeReportSource();
typeReportSource.TypeName = typeof(Report1).AssemblyQualifiedName;
Int32 ss = (int)(Session["u_id"]);
typeReportSource.Parameters.Add(new Telerik.Reporting.Parameter("si", ss));
}
}
but not working , helpe me please