コード例 #1
0
        //Get logic//

        //Sort logic//

        /// <summary>
        /// Populate the data grid with information sorted by workers' both names in ascending order
        /// </summary>
        private void PopulateDataGridViewSortWorkersByBothNamesAscending()
        {
            dataGridView.Rows.Clear();
            WorkerBusiness workerBusiness = new WorkerBusiness();
            var            workersList    = workerBusiness.SortWorkersByBothNamesAscending();

            DataPopulator(workersList);
        }