当前位置:编程学习 > C#/ASP.NET >>

请举例 ExecuteSqlInsertImg

 DbHelperOra.("update allpeople_info set zjz={0} where gmsfhm='422429196910200194'", @imagebytes);

这里老是报ORA-01036  非法的变量名 编号
请问这里是怎么调用的。 --------------------编程问答--------------------  DbHelperOra.("update allpeople_info set zjz={0} where gmsfhm='422429196910200194'", @imagebytes);
红色部分应该是一个变量值(具体的值,比如1、2、3之类的,来代替前面的{0}),而不是一个变量。 --------------------编程问答-------------------- 这样试试
DbHelperOra.("update allpeople_info set zjz=@imagebytes where gmsfhm='422429196910200194'", 实际bytes数组变量);

  
*****************************************************************************
签名档: http://feiyun0112.cnblogs.com/
补充:.NET技术 ,  C#
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,