command.Parameters.AddWithValue("@date",date); My date is declare as a string, but in my database I stored it as Date, how to change this,?