Quantcast
Channel: DataView RowFilter vs SQL WHERE
Viewing all articles
Browse latest Browse all 12

Re: DataView RowFilter vs SQL WHERE

$
0
0

If I initialize a new datetime object called today:

private DateTime Today = new DateTime(DateTime.Today.Year, DateTime.Today.Month, DateTime.Today.Day);

...
...
...

dvRowFilter.Append(String.Concat("(", ColName, " >= '", Today, "' and ", ColName, " < '", Today, "')"));

It works as expected as well! So StringBuilder definitely not liking properties!


Viewing all articles
Browse latest Browse all 12

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>