[心得] C# insert into Access 用 CommandBuilder
今天幫同學 Debug 不知道為什麼 用 CommandBuilder 出來的
InsertCommand 系統一直說 Insert Into 陳述式 一直出錯
本來以為是 Table 中 Column name 的部份與 Access 的保留字衝到
結果有相似,或是一樣(只差大小寫) Column Name 都改掉,但還是一樣出錯。
Google 了好久,找到一篇文章,終於解決我的問題 @@
http://www.wangchao.net.cn/bbsdetail_577881.html
順便附上 Access 的 Keyword Page
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q209187
完全不知道問題在哪. = = (我有這中斷點看 Command 跟 Insert 的 Row)
的內容.. 看了好多遍,找不到錯的說
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.59.78.243
※ 編輯: hpo14 來自: 61.59.78.243 (08/08 19:15)
→
08/09 04:53, , 1F
08/09 04:53, 1F
推
08/09 07:51, , 2F
08/09 07:51, 2F
推
08/09 20:41, , 3F
08/09 20:41, 3F
推
08/09 20:47, , 4F
08/09 20:47, 4F
→
08/10 02:41, , 5F
08/10 02:41, 5F
討論串 (同標題文章)