public void UserSelectAll(DataGridView UserList) { try { user = new DAL.User(); PopulateDataLayer(); UserList.DataSource = user.UserSelectAll().Tables[0]; } catch (Exception ex) { throw ex; } }