//假设 以下对象已经完成。
// myConnection
//myCommand
//myAdapter
//myDataSet
myCommand.CommandText="update tablename set col1=:aa where col1=:oldaa";
myCommand.parameters.add(":aa",oracletype.number , 10,"col1");
myCommand.parameters.add(":oldaa",oracletype.number , 10,"col1");
myCommand.parameter[":aa"].sourceversion=...origin;
...
myAdapter.update(myDataSet,"tablename");
当oracletype.varchar 时 update 是成功的, 但oracletype.number 时 update 失败, 请问是什么问题?
谢谢!