i have the read the some value from the database in data Table in C#.NET.
in this datatable the following value contains
batch tag pcdatelogged
1 11 12-12-2012 11:35
1 12 12-12-2012 11:36
1 13 12-12-2012 11:37
1 14 12-12-2012 11:38
2 15 12-12-2012 11:39
2 16 12-12-2012 11:40
2 17 12-12-2012 11:41
2 18 12-12-2012 11:42
i want to select the distinct values from the datatable & display into the grid
batch tag(last value) pcdatelogged(min) pcdatelogged(max)
1 14 12-12-2012 11:35 12-12-2012 11:38
2 18 12-12-2012 11:39 12-12-2012 11:42
i want the above output in the grid
Thanks in advance