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