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.