DataTable select command

kasdoffe

Well-known member
Joined
Aug 27, 2003
Messages
57
I want to use the select command on my datatable to select a subset of rows that match my criteria. However, Im having trouble. Heres my code:

DataRow [] dra = myDataSet.Tables["Tasks"].Select(select);

select = (DueDate>Format(1/1/1,yyyy/MM/dd) And Due_Date<Now() And Completed=False) Or (Completed=False)

I get the following error message though: "The expression contains undefined function call Format()."

How can I check if my DueDate column is set to the default 1/1/1?

help please?
 
Back
Top