using System; using System; using System.IO; using System.Data; using System.Text; using System.Drawing.Imaging; using System.Drawing.Printing; using System.Collections; using System.Printing; using System.Printing.Activation; using System.Windows.Forms; using System.Web.UI; using Microsoft.Reporting.WinForms; using Microsoft.ReportingServices; using Microsoft.CSharp; namespace nancymoneytrs { public partial class AccountDetail : System.Web.UI.Page { string reportPath = "repTransfer.rdlc"; protected void Page_Load(object sender, EventArgs e) { } #region protected void ButtonPrint_Click(object sender, EventArgs e) { ReportViewer rView = new ReportViewer(); rView.Dock = DockStyle.Fill; rView.LocalReport.ReportPath = reportPath; rView.Print(); } protected void Calendar3_SelectionChanged(object sender, EventArgs e) { } #endregion } }}
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)