A.把SqlCommand對(duì)象的CommandType屬性改為CommandTypText;CommandText屬性改為:SELECT*FROMprocProductListORDERBYProductNamDESC;綁定DataGrid數(shù)據(jù)源來(lái)自datatable對(duì)象
B.基于DataTable對(duì)象創(chuàng)建一個(gè)新的DataView對(duì)象;將DataView對(duì)象的排序?qū)傩栽O(shè)置為ProductNamDESC;綁定DataGrid數(shù)據(jù)源來(lái)自datatable對(duì)象
C.將DataGrid的AllowSorting屬性設(shè)置為真;設(shè)置DataGridColumn的SortExpression屬性使ProductName顯示為ProductNamDESC;綁定DataGrid數(shù)據(jù)源來(lái)自datatable對(duì)象
D.將DataTable對(duì)象的DisplayExpression屬性設(shè)置為ORDERBYProductNamDESC;綁定DataGrid數(shù)據(jù)源來(lái)自datatable對(duì)象