Hello everyone.
In the program I'm currently working on, my table has a Create_Timestamp
column, which I defined as timestamp
.
When I'm working with my data context and my form values in my controller on the HttpPost
, I'm trying the following:
NewsArticle article = new NewsArticle();
article.Create_Timestamp = System.DateTime.Now;
The error I get is Cannot implicitly convert from 'System.DateTime' to 'System.Data.Linq.Binary'
I've tried to force the conversion, but I'm unsure exactly what I'm doing at this point.
Is it possible in C# to do this conversion and still have Linq be happy with me?
Thanks