using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using Payroll.BO; using Ease.CoreV35; using Ease.CoreV35.Utility; namespace Payroll.Report { public partial class fMonthlyPFAmount : Form { public fMonthlyPFAmount() { InitializeComponent(); } private void btnPreview_Click(object sender, EventArgs e) { try { rptPF opf = new rptPF(); opf.MonthlyPFReport(GlobalFunctions.LastDateOfMonth(dtpSalaryMonth.Value)); } catch(Exception ex) { MessageBox.Show("No Data Found for "+ex.Message); } } } }