Passing datetime from C# to SQL

how to pass Datetime from C# to SQL?

hi hope the below link helps

https://social.msdn.microsoft.com/Forums/vstudio/en-US/22027004-e1c1-422b-8b3f-be32c47c2521/pass-datetime-from-c-to-sql?forum=csharpgeneral

will try that.