private void button1_Click(object sender, EventArgs e) { frm_reportViwer rpt = new frm_reportViwer(); rpt.MdiParent = MDI_SMartAnything.ActiveForm; rpt = ReportStrings.PrintDoc("Order Tracking Summary"); rpt_pendingapprovals rptBank = new rpt_pendingapprovals(); rptBank.SetDataSource(commonFunctions.GetDatatable(ReportStrings.GetPendingApprovaltSTR(""))); rpt.RepViewer.ReportSource = rptBank; rpt.RepViewer.Refresh(); rpt.Show(); }