Assembly: System.Data (in System.Data.dll)
Theproperty was changed while a transaction was in progress.
If you set Transaction property is not null, an InvalidOperationException is generated. If you set after the transaction has been committed or rolled back, and the Transaction property is not null, the Transaction property is then set to a null value.while a transaction is in progress and the
Available since 1.1