private DataTable GetAlumni() { DataTable _dt = null; DataAccess _DataAccess = new DataAccess(); StudentInformation _Student = new StudentInformation(); try { _dt = _Student.GetAlumniInfo(0); } catch (Exception) { if (_DataAccess != null) { _DataAccess.RollBack(); _DataAccess.CloseConnection(false); } } finally { } return _dt; }
private DataTable GetAllAlumni(string sSearchString, int nSearchCriteria) { DataTable _dt = null; DataAccess _DataAccess = new DataAccess(); StudentInformation _Student = new StudentInformation(); try { _dt = _Student.GetAlumniInfo(sSearchString,nSearchCriteria); } catch (Exception) { if (_DataAccess != null) { _DataAccess.RollBack(); _DataAccess.CloseConnection(false); } } finally { } return _dt; }