private void RefreshData() { //Gets all records from database var rawPostList = _dataConnection.GetPostList(Enumerable.Empty <String>()); GridControlResults.DataSource = rawPostList; UpdateNumberOfRecords(); }