C# 给数据库传入当前时间

DateTime time=DateTime.Now;

//
存储过程中用一个
@addTime DateTime  --接收DateTime  类型接收

  

原文地址:https://www.cnblogs.com/alphafly/p/4193587.html