Hi everyone! (again)
On the endless road of learning programming, I ran into another problem:
I've been developing an application with Visual Studio 2010 and Sql Server 2008. Everything worked fine until I've changed from SQL Server 2008(In my Home) to SQL Server 2005 (In the Office). The problem seems to be, as I found on Google, that Sql Server 2005 doesn't support DateTime2.
Is there any way to cast or convert from DateTime2 to the single DateTime?
I'm using ADO.NET Entities Framework to insert and update records on the DB.
Thanks in advance.
Best Regards.
EDIT: A Possible Solution:
Well I've regenerated the model from the SQL Server 2005 Data Base and now works, although of being an effective solution, isn't efficient, because I'm depending on SQL Server 2005 rather than 2008 that is what I use regulary to develop my applications.
If there is a better way to solve the problem would good.
Anyway thanks to aspdotnetdev for the answer.