tags:

views:

32

answers:

1

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
i m not talk about name space please tell me regarding database data type for datatime which is used in asp.net.
picnic4u
@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
u are right i have edited my question so pls suggest me datatype
picnic4u
@picnic4u: See my updated post
abatishchev

related questions