what are the different datatype for the time attribute. i m using sql server 2008
+1
A:
System.DateTime
is only one type for date and time in .NET
Update:
Very good articles about SQL Server date and time types: http://msdn.microsoft.com/en-us/library/ms187819.aspx and http://msdn.microsoft.com/en-us/library/ms186724.aspx
abatishchev
2010-06-09 10:23:38
i m not talk about name space please tell me regarding database data type for datatime which is used in asp.net.
picnic4u
2010-06-09 10:27:05
@picnic4u: You tagged your question `asp.net` - I thought you're talking about ASP.NET. If you mean ADO.NET and some database engine - please edit your question to be more specific. Indicate what type of DB do you use - SQL Server, MySQL, Oracle, etc.
abatishchev
2010-06-09 10:29:05
u are right i have edited my question so pls suggest me datatype
picnic4u
2010-06-09 11:16:12
@picnic4u: See my updated post
abatishchev
2010-06-09 12:05:00