.select rows from datatable by DateTime column (hours)
Posted
by nCdy
on Stack Overflow
See other posts from Stack Overflow
or by nCdy
Published on 2010-03-12T10:33:18Z
Indexed on
2010/03/12
10:37 UTC
Read the original article
Hit count: 204
DatarowsForOneDay = dt.Select(dt.Columns[0].Caption + "='" + x.ToString("dd/MM/yyyy HH") + "'");
doesn't works, but
DatarowsForOneDay = dt.Select(dt.Columns[0].Caption + "='" + x.ToString("dd/MM/yyyy") + "'");
works.
So how can I select the date with a same hour ... ?
© Stack Overflow or respective owner