protected override ResultStatus Retrieve() { base.Retrieve(gcMain); string userId = ddlUserId.EditValue.AsString(); DateTime startDate = txtStartDate.DateTimeValue; DateTime endDate = txtEndDate.DateTimeValue; gcMain.DataSource = daoLOGUTP.ListDataByUser(startDate, endDate, userId); gvMain.TrimAllCell(); return(ResultStatus.Success); }
public DataTable ListLOGUTPByUser(DateTime LOGUTP_START_DATE, DateTime LOGUTP_END_DATE, string LOGUTP_USER_ID) { return(daoLOGUTP.ListDataByUser(LOGUTP_START_DATE, LOGUTP_END_DATE, LOGUTP_USER_ID)); }