public void FillCashReg() { fromDate = Convert.ToDateTime(deFrom.EditValue); if (deTo.EditValue == null) { deTo.EditValue = Convert.ToDateTime(DateTime.Now.ToShortDateString()); } toDate = Convert.ToDateTime(deTo.EditValue); dtCash = new DataTable(); dtCash = CashEntryDL.GetPayInfoRegister(fromDate, toDate); grdCash.DataSource = dtCash; FillGrid(); }
public static DataTable GetPayInfoRegister(DateTime argFrom, DateTime argTo) { return(CashEntryDL.GetPayInfoRegister(argFrom, argTo)); }