wnGridPbcdxx.Columns["Qswz"].SortOrder = ColumnSortOrder.Ascending; //排序
var listRow = wnGridPbcdxx.GridView.DataController.GetAllFilteredAndSortedRows(); //获取所有已经排序或者过滤的数据
var listRowView = listRow.Cast<DataRowView>().ToList(); //转换成List<DataRowView>