kasdoffe Posted August 3, 2005 Posted August 3, 2005 I want to use the select command on my datatable to select a subset of rows that match my criteria. However, I'm having trouble. Here's 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? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.