public bool IsResetOccuredAndCompleted() { bool nResult = false; SqlDataReader sDR = reportsDataAccess.IsResetOccuredAndCompleted(); if (sDR != null && sDR.HasRows) { while (sDR.Read()) { nResult = Convert.ToBoolean(sDR.GetString(0)); } sDR.Close(); } return(nResult); }