I am implementing transactions for the first time.
In
transaction = sqlConnection.BeginTransaction();
try
{
sqlCommand.Transaction = transaction;
insertToHistory(sqlConnection, sqlCommand, clsCashFlowHistory);
updateTable(sqlConnection, sqlCommand, clsCashFlowHistory);
}
the problem is with the update though i am giving the correct number of arguments , the update is throwing an error saying that the no: of arguments are too many
if i am executing the update() without insert then it is working fine and the insert is working fine any way.
please help me on this.
Suthish NairPosted Apr 15, 2011, 10:28 AM
Guest UserPosted Apr 15, 2011, 9:07 AM