Hello all.
I am trying to get a list of records between two dates.
The following SQL is written in a TableAdapter (Jobs)
StartDate and EndDate are DateTimePickers.
I am recieving the following message.
Exception Unhandled.
System.Data.SqlClient.SqlException: 'Conversion failed when converting date and/or time from character string.'
All help appreciated in advance, Shane.
I am trying to get a list of records between two dates.
The following SQL is written in a TableAdapter (Jobs)
PHP Code:
Select * From Jobs Where [InDate] Between ('@StartDate') And ('@EndDate')
I am recieving the following message.
Exception Unhandled.
System.Data.SqlClient.SqlException: 'Conversion failed when converting date and/or time from character string.'
All help appreciated in advance, Shane.