所以我想把我的txtCourse和txtTimeslot填入datagridview, 然后按降序排序txtTimeslot并在datagridview中显示txtCourse和txtTimeslot
我已将txtCourse和txtTimeslot填入datagridview
string firstColum = txtCourse.Text;
string secondColum = txtTimeslot.Text;
string[] row = { firstColum, secondColum };
dgvLSD.Rows.Add(row);
我需要知道如何按降序对txtTimeslot进行排序,并将txtCourse和txtTimeslot显示为datagridview