private void availableStallsBtn_Click(object sender, EventArgs e) { try { stallClass u = new stallClass(); u.getAvailableStalls(); crypt.Load(domainName + "stallsCrystalReport.rpt"); crypt.SetDataSource(u.datasetQuery("stalls_tbl")); crypt.SetParameterValue("stall_title", "List of Available stalls"); reportsCrystalReportViewer.ReportSource = crypt; reportsCrystalReportViewer.Refresh(); } catch (Exception ex) { MessageBox.Show(ex.Message); } }
public AllContractsUserControl() { InitializeComponent(); _cc = new contractsClass(); _sc = new stallClass(); }
public StallsUserControl() { InitializeComponent(); _sc = new stallClass(); }
public ApplicationMonthlyUserControl() { InitializeComponent(); _sc = new stallClass(); }