Basu Biswas

Basu Biswas

  • NA
  • 55
  • 0

OracleCommand.Transaction property is read only

Apr 9 2007 2:08 PM
Does anyody know what's wrong with this: OracleConnection oraCn = new OracleConnection(ConString); OracleCommand oraCmd1 = new OracleCommand(oraString1, oraCn); OracleTransaction oraTrans; oraTrans = oraCn.BeginTransaction(IsolationLevel.ReadCommitted); oraCmd1.Transaction = oraTrans; --> gives me error said OracleCommand.Transaction property is read only Does anyone know how to solve this issue? I search goolgle and found same kind of code.... Thanks in advance