In the following code I\'m trying to update a table called TaskListDetail in the SQL database according to the data entered by the user. CompletedDate is a date type column