易截截图软件、单文件、免安装、纯绿色、仅160KB

access c# update 简单错误 请教。

access数据库 c# vs2008

  protected void tongji1(object sender, EventArgs e)
  {
  string constr = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=e:\\dbps.mdb";
  string str = "UPDATE table1 SET number =number + 1 where id = 1 ";
  OleDbConnection conn = new OleDbConnection(constr);

  conn.Open();
  OleDbCommand com = new OleDbCommand(str, conn);
  com.ExecuteNonQuery(); 这里提示update语句出错

  ...................

请问该怎么该 谢谢


{{


相关问答:

利用C#编写txt转化到xml的程序

txt 和XML 格式相应
不借助DataSet
导入读取TXT文件
然后直接写入XML(同一文件,不同数据,递增原数据没有被覆盖情况下增加数据.)
教个要点或最好是有个代码提示的
过路好汉 帮个忙撒^^
不会,帮楼主 ......

linux不能访问access - Java / Java EE

rt,我试了网上直连Acces数据库的方法,windows下没有问题,但是在linux下不行,谁能给点提示?谢谢
你怎么连的?

Acces数据库..
你怎么练的呢?

Java code:

static String DBDRIVER = "sun.jd ......

关于SQL Server Mobile Edition - .NET技术 / C#

关于SQL Server Mobile Edition
用Microsoft SQL Server2005 Management Studio Express9.00.3042.00创建SQLCE数据库sqlmobile.sdf
在mobile系统终端上用SQL Server Mobile Edition3.0能查看sqlmobile.sdf里表数据 ......

C# xml文件utf-8转gb2312问题 - Web 开发 / XML/SOAP

我要在网页上上传一个XML文件,我在C#中写了一个验证XML文件格式的方法: 
private bool ValidateXml(string xmlFilePath) 
  { 
  string xsdPath = Request.PhysicalApp ......

spring连接access出现错误

错误提示:
Error creating bean with name 'DAOProxy' defined in class path resource [appcontext.xml]: Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionMana ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号