Avatar of funnylearning

asked on 

How to Filter Times in a Dataset

I have a dataset with datetime columns in which there are only h:mm:ss. I would like to filter the dataset where a value would be between to column values.

x > T1 and x < T2

the x value is given in integer, representing a number of seconds.

expression = "x > columnNameT1 and x <  columnNameT2";
DataRow[] foundRows;
foundRows = dt_Tags.Select(expression)
How would expression look like?
Microsoft Access.NET ProgrammingC#Microsoft DevelopmentSQL

Avatar of undefined
Last Comment

8/22/2022 - Mon