Solution:
use Enumerable.Select
with AsEnumerable.
var results = tmp.AsEnumerable()
.Select((row, index) => new { row.ContainerID, row.TypeID,
ContainerIndex = index });
Solution:
use Enumerable.Select
with AsEnumerable.
var results = tmp.AsEnumerable()
.Select((row, index) => new { row.ContainerID, row.TypeID,
ContainerIndex = index });
No comments :
Post a Comment