Can someone help me how to insert date in database?

I try it already but it gives me error cannot convert to string!

Any help is appreciated.

Thank you in advance!

change the data type of the column in the database from string to date.

What's the datatype of your date field in database? The error is saying that you are trying to store date type in string field.

Just correct the datatype and it will work for you.

Can someone help me how to insert date in database?

I try it already but it gives me error cannot convert to string!

Any help is appreciated.

Thank you in advance!

My date field is in datetime datatype!

Why is it that i can`t store my system date to my database?

Anyone please...

can you put some line of your insert operation code ? so that anyone take a look and let you give best possible solution.

My date field is in datetime datatype!

Why is it that i can`t store my system date to my database?

Anyone please...