久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

<legend id='vebAM'><style id='vebAM'><dir id='vebAM'><q id='vebAM'></q></dir></style></legend>
  • <small id='vebAM'></small><noframes id='vebAM'>

      • <bdo id='vebAM'></bdo><ul id='vebAM'></ul>

        <tfoot id='vebAM'></tfoot>
        <i id='vebAM'><tr id='vebAM'><dt id='vebAM'><q id='vebAM'><span id='vebAM'><b id='vebAM'><form id='vebAM'><ins id='vebAM'></ins><ul id='vebAM'></ul><sub id='vebAM'></sub></form><legend id='vebAM'></legend><bdo id='vebAM'><pre id='vebAM'><center id='vebAM'></center></pre></bdo></b><th id='vebAM'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='vebAM'><tfoot id='vebAM'></tfoot><dl id='vebAM'><fieldset id='vebAM'></fieldset></dl></div>
      1. INSERT INTO 語句的問題

        Trouble with INSERT INTO statement(INSERT INTO 語句的問題)
          <bdo id='cywAn'></bdo><ul id='cywAn'></ul>
              1. <tfoot id='cywAn'></tfoot>

              2. <small id='cywAn'></small><noframes id='cywAn'>

              3. <i id='cywAn'><tr id='cywAn'><dt id='cywAn'><q id='cywAn'><span id='cywAn'><b id='cywAn'><form id='cywAn'><ins id='cywAn'></ins><ul id='cywAn'></ul><sub id='cywAn'></sub></form><legend id='cywAn'></legend><bdo id='cywAn'><pre id='cywAn'><center id='cywAn'></center></pre></bdo></b><th id='cywAn'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='cywAn'><tfoot id='cywAn'></tfoot><dl id='cywAn'><fieldset id='cywAn'></fieldset></dl></div>
              4. <legend id='cywAn'><style id='cywAn'><dir id='cywAn'><q id='cywAn'></q></dir></style></legend>
                  <tbody id='cywAn'></tbody>

                  本文介紹了INSERT INTO 語句的問題的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                  問題描述

                  限時送ChatGPT賬號..

                  我似乎無法弄清楚為什么我不斷收到 INSERT INTO 語句中的語法錯誤.

                  I can't seem to figure out why I keep getting a Syntax error in INSERT INTO statement.

                  代碼如下.

                  static void ABSChangeEventsTable(string ControlNumber, string CurrentStatus)
                  {
                     using (var connection = new OleDbConnection(strAccessConnAbstracting))
                     using (var command = connection.CreateCommand())
                     {
                        connection.Open();               
                  
                        command.CommandText = "INSERT INTO Events (Date_Time, Details, Regarding, User, Control_Number) VALUES (@Date_Time, @Details, @Regarding, @User, @Control_Number)";
                  
                        command.Parameters.AddWithValue("@Date_Time", DateTime.Now);
                        command.Parameters.AddWithValue("@Details", "OLD:"+CurrentStatus+" NEW: Received Fax");
                        command.Parameters.AddWithValue("@Regarding", "Status Changed");
                        command.Parameters.AddWithValue("@User", "System");
                        command.Parameters.AddWithValue("@Control_Number", ControlNumber);
                  
                        try
                        {
                           command.ExecuteNonQuery();
                        }
                        catch (System.Exception ex)
                        {                   
                           throw;
                        }
                     }            
                  }
                  

                  推薦答案

                  User是保留關(guān)鍵字,需要用方括號括起來:

                  User is a reserved keyword, you need to wrap it in square brackets:

                  INSERT INTO Events (Date_Time, Details, Regarding, [User], Control_Number) VALUES (@Date_Time, @Details, @Regarding, @User, @Control_Number)
                  

                  我建議重命名該列以避免每次引用時都需要方括號.

                  I'd recommend renaming that column to avoid the need for square brackets every time you reference it.

                  這篇關(guān)于INSERT INTO 語句的問題的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                  【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!

                  相關(guān)文檔推薦

                  What are good algorithms for vehicle license plate detection?(車牌檢測有哪些好的算法?)
                  onClick event for Image in Unity(Unity中圖像的onClick事件)
                  Running Total C#(運行總 C#)
                  Deleting a directory when clicked on a hyperlink with JAvascript.ASP.NET C#(單擊帶有 JAvascript.ASP.NET C# 的超鏈接時刪除目錄)
                  asp.net listview highlight row on click(asp.net listview 在單擊時突出顯示行)
                  Calling A Button OnClick from a function(從函數(shù)調(diào)用按鈕 OnClick)

                    <bdo id='foS2B'></bdo><ul id='foS2B'></ul>
                    <legend id='foS2B'><style id='foS2B'><dir id='foS2B'><q id='foS2B'></q></dir></style></legend>
                    <i id='foS2B'><tr id='foS2B'><dt id='foS2B'><q id='foS2B'><span id='foS2B'><b id='foS2B'><form id='foS2B'><ins id='foS2B'></ins><ul id='foS2B'></ul><sub id='foS2B'></sub></form><legend id='foS2B'></legend><bdo id='foS2B'><pre id='foS2B'><center id='foS2B'></center></pre></bdo></b><th id='foS2B'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='foS2B'><tfoot id='foS2B'></tfoot><dl id='foS2B'><fieldset id='foS2B'></fieldset></dl></div>

                          <tbody id='foS2B'></tbody>
                        <tfoot id='foS2B'></tfoot>

                            <small id='foS2B'></small><noframes id='foS2B'>

                          1. 主站蜘蛛池模板: 成人av看片 | 天天综合网天天综合 | 日韩成人精品在线 | 亚洲中字在线 | 久热精品在线 | 久久国产精品视频观看 | 久久激情五月丁香伊人 | tube国产| 国产成人精品免高潮在线观看 | 国产美女在线播放 | 成人免费一区二区三区视频网站 | 国产91视频免费 | 国产精品观看 | 91热爆在线观看 | 99精品一区二区 | 成人精品一区 | 午夜精品一区二区三区免费视频 | 欧美一级在线观看 | 欧美国产精品一区二区 | 在线观看中文字幕亚洲 | 欧美成人激情视频 | 成人做爰999 | 日韩免 | 五月综合激情婷婷 | 久久网一区二区三区 | xxx国产精品视频 | 国产亚韩 | 精品国产一区二区三区观看不卡 | 欧美成人a∨高清免费观看 色999日韩 | 国产精品久久久久久久免费大片 | 中文字幕高清在线 | 欧美日韩免费 | 亚洲免费观看 | 亚洲毛片在线 | 成人在线免费观看 | 日韩一区二区三区视频 | 亚洲午夜av久久乱码 | 精品国产伦一区二区三区观看说明 | 一级电影免费看 | 青青久在线视频 | 美女爽到呻吟久久久久 |