Can i use DataTable.Select() method to make simple paging?
问题 I quickly view this MSDN article using datacolumn.expression, but have found nothing. It looks like 'select expression' syntax doesn't support paging... 回答1: Paging is a mechanism of how you SELECT the data. Consider the following test data: ID Name Date 1 Bob 1/1/2013 2 Bill 1/3/2013 3 Andy 2/1/2013 ... if I wanted to page that data, and I didn't care how it was sorted, I could do it by ID so I could do something like this: var rows = table.Select().Take(10); _id = (int)rows.Last()["ID"];