Anyone can help me by using which query to filter the Datatable?
Dt = dt.Select("[Date]>= Now.ToString").CopyToDataTable()
What is the date format we have to use ?
now.tostring can be tweaked to whatever works best for your workflow. If you needed, say 08-2019, you can do now.tostring(“MM-yyyy”). Some more info on how you can format this below, but I recommend playing around with log messages to make sure you get the desired output.
Hope this helps!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.