在ASP里试了一下,而且是ACCESS数据可以插入。用Insert。
在ASP.NET也是ACCESS数据库,同样的内容不可以插入。Syntax error (missing operator) in query expression ''<p><input class="userDataStyle" id="userDataCache" type="hidden" /><input id="hiddenScrollOffset" type="hidden" /><img id="collapseImage" alt="&ldquo;折叠&rdquo;图像" src="ms-help://MS.VSCC.v90/MS.MSDNQTR.v90.chs/dv_csref/icons/collapse_all.gif" style="displ'. 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.OleDb.OleDbException: Syntax error (missing operator) in query expression ''<p><input class="userDataStyle" id="userDataCache" type="hidden" /><input id="hiddenScrollOffset" type="hidden" /><img id="collapseImage" alt="&ldquo;折叠&rdquo;图像" src="ms-help://MS.VSCC.v90/MS.MSDNQTR.v90.chs/dv_csref/icons/collapse_all.gif" style="displ'.
显示一堆上边的内容。为什么会这样呢?Line 97:         if (cmd.ExecuteNonQuery() == 0)执行这句就错了。