這時哪寫錯了,報語法錯誤
int res2 = db.Ado.ExecuteCommand($"INSERT INTO TransHistory(Tel,OutAmount,CreateDate) VALUES({Tel},{OutSum},'{DateTime.Now.ToShortDateString().ToString()}'");
轉載請註明出處,本文鏈接:https://www.uj5u.com/net/106160.html
標籤:C#
上一篇:ConfigurationManager是如何和App.config關聯上的
下一篇:“System.Runtime.InteropServices.COMException”型別的未經處理的例外在 mscorlib.dll 中發生
