sample code for setting up ReportViewer Page Layout attributes or methods before running the progra

  • Thread starter Thread starter Davood Riazi
  • Start date Start date
D

Davood Riazi

Hi,I have a problem to write a metod in C# for setting up ReportViewer Page Layout Attributes before building my project in Design time . for example ,i want to write a code in my ReportForm.cs to show my ReportViewer layout preview for users to be exactly A4 page size or my ReportViewer BorderStyle to be "Solid" without let to the users set up output by clicking Page Setup Icon in Toolbar Menu themselves.(For Example like this code :this.ReportViewer1.BorderStyle="Solid" ; but it dosen't work correctly!So I want a sample code for setting up ReportViewer Page Layout attributes or methods before running the program or tell me how can i solve my problem.

Thanks


Posted via DevelopmentNow.com Group
http://www.developmentnow.com
 
Back
Top