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.

Guest UserRank #1,422 · 1.2K reputationPosted Apr 15, 2011, 5:07 AM EDT
Suthish NairRank #92 · 22.8K reputationPosted Apr 15, 2011, 6:28 AM EDT