日期:2014-05-20  浏览次数:20809 次

Linq的基础操作
大家好,
  假设我有个datatable 为:
  content
  ww
  ss
  ff
 现在我想通过linq来到下面的结果:
  id content
  1 ww
  2 ss
  3 ff
其中id就是数据在datatable中的行号,请问这怎么实现
先谢谢各位了!!