Use SQL Server time datatype in C#.NET application?

后端 未结 5 603
轮回少年
轮回少年 2020-12-03 09:53

How does one use the SQL time datatype introduced in SQL Server 2008 in C#.NET?

I\'ve been trying to get it to work but no success.

5条回答
  •  孤城傲影
    2020-12-03 09:55

    I think you can use TimeSpan datatype for your purpose. Here is an article that explains the use of Time datatype in ADO.NET.

提交回复
热议问题