.net中用oracle公司的odp.net如何保存时间?
如题,sql = "Insert Into Sign_Log(yke191) Values(:yke191)"
cmd.Parameters.Add("yke191", OracleDbType.Date).Value = "2013-11-11 18:20:20";
报无效年月日;
------解决方案--------------------
Value = DateTime.Parse("2013-11-11 18:20:20");