Here is an MSDN article that reviews all the new Date and Time datatypes introduced in SQL Server 2008 with respect to ADO.NET. As the document says: For System.Data.DbType.Time
you would use the .NET Framework type System.TimeSpan
More Related Contents:
- Code to validate SQL Scripts
- SqlConnection.Close() inside using statement
- Generating sql code programmatically
- Is SqlConnection.Close() need inside a Using statement?
- Delete from two tables? [closed]
- How can I String.Format a TimeSpan object with a custom format in .NET?
- Insert entire DataTable into database at once instead of row by row?
- Is it necessary to manually close and dispose of SqlDataReader?
- How to execute an SSIS package from .NET?
- Passing List to SQL Stored Procedure
- DropdownList DataSource
- How to retrieve data from a SQL Server database in C#?
- Bulk Update in C#
- Does using parameterized SqlCommand make my program immune to SQL injection?
- Any way to SQLBulkCopy “insert or update if exists”?
- EF 6 – How to correctly perform parallel queries
- What’s the fastest way to bulk insert a lot of data in SQL Server (C# client)
- How to keep single SQL Server connection instance open for multiple request in C#?
- Table name and table field on SqlParameter C#?
- ExecuteNonQuery returning -1 when using sql COUNT despite the query string
- Failed to update .mdf database because the database is read-only (Windows application)
- Get affected rows on ExecuteNonQuery
- Sql Bulk Copy/Insert in C#
- Add WHERE clauses to SQL dynamically / programmatically
- GO statements blowing up sql execution in .NET
- Unable to load SqlServerSpatial.dll
- Issues Doing a String Comparison in LINQ
- Query validation using C#
- What is the equivalent of bigint in C#?
- How to give ADO.NET Parameters