Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
vinu
Starting Member
34 Posts |
Posted - 2010-10-18 : 06:16:48
|
hi......... to alli've created one ssrs report and i want to deploy in programatically.. in c#.net(.aspx page) |
|
AdamWest
Constraint Violating Yak Guru
360 Posts |
Posted - 2010-10-18 : 09:45:29
|
Lookat Reportviewer you can use that for deploy. |
|
|
OBINNA_EKE
Posting Yak Master
234 Posts |
Posted - 2010-10-29 : 03:32:10
|
Drag the report to the page and use this codeprotected void Page_Load(object sender, EventArgs e) { this.ReportViewer1.ServerReport.ReportServerUrl = new Uri("http://localhost:1986/"); this.ReportViewer1.LocalReport.ReportPath = @"D:\MultiColumn.rdlc"; this.ReportViewer1.ProcessingMode = ProcessingMode.Local; ReportParameter reportaParam = new ReportParameter("VisibleColumnsList", new string[] { "ID", "City" }, false); List<ReportParameter> myParams = new List<ReportParameter>(); myParams.Add(reportaParam); this.ReportViewer1.LocalReport.SetParameters(myParams); this.ReportViewer1.LocalReport.Refresh(); this.ReportViewer1.Visible = true; }If it is that easy, everybody will be doing it |
|
|
|
|
|