public DataTable GetUploadReports(Report_Details objReports) { dbAccess db = new dbAccess(); db.AddParameter("@FromDate", objReports.FromDate); db.AddParameter("@ToDate", objReports.ToDate); db.AddParameter("@Name", objReports.FileName); ds = db.ExecuteDataSet("sp_getuploadhistory"); dt = ds.Tables[0]; return dt; }
public DataTable GetFileReports( Report_Details objReports) { dbAccess db = new dbAccess(); db.AddParameter("@FromDate", objReports.FromDate); db.AddParameter("@ToDate", objReports.ToDate); db.AddParameter("@Key", objReports.FileName); ds = db.ExecuteDataSet("sp_FileDetailsReport"); dt = ds.Tables[0]; return dt; }
public DataTable GetUserReports(Report_Details objReports) { dbAccess db = new dbAccess(); db.AddParameter("@FromDate", objReports.FromDate); db.AddParameter("@ToDate", objReports.ToDate); ds = db.ExecuteDataSet("sp_getuserdetails"); dt = ds.Tables[0]; return dt; }