private void txtSearch_TextChanged(object sender, EventArgs e) { lblTotal.Visible = false; checkTotal.Checked = false; RecordAccess.todaySeacrchRecords(dataGridRecords, txtSearch); if (string.IsNullOrEmpty(txtSearch.Text)) { RecordAccess.todayRecords(dataGridRecords); } }
private void btnSearch_Click(object sender, EventArgs e) { try { if (string.IsNullOrEmpty(txtSearch.Text)) { throw new Exception("Enter the Fee Name"); } RecordAccess.todayRecords(dataGridRecords); } catch (Exception Ex) { MessageBox.Show(Ex.Message, "Search Error", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
private void TodayPayRecords_Load(object sender, EventArgs e) { RecordAccess.todayRecords(dataGridRecords); }
private void btnViewTodayAll_Click(object sender, EventArgs e) { lblTotal.Visible = false; checkTotal.Checked = false; RecordAccess.todayRecords(dataGridRecords); }