 |
DataTable (Select, Find, Compute and Linq) - Programs Knowledge- 點部落
/* (1) 無條件*/ DataRow[] rows; rows = table.Select("", "key desc"); //參數1 = where condition, 參數2 = order by object[] objRow1 = row[0].ItemArray; //key2, 2, 2012/12/12 下午 05:33:26 object[] objRow2 = row[1].ItemArray; //key1, 1, 2012/12/12 下午 05:33:26 object
www.dotblogs.com.tw |
 |