C# Data Table select 排序无效果是因为order by 字句用法错误,正确的写法如下:前提:数据库有字段ID,是自动增长的,每新增之后,每次select语句的结果页是按照新增的数据进行排列,从最旧的排到最新的。1. 给id加一个聚集索引2. 查询的时候排序:select * from A order by id