>public ABusinessObject() > { > // Enter the default database key as specified in the app.config file > this.DatabaseKey = "Iluna"; > this.RetrieveAutoIncrementPK = true; > // Specify the default command type for data retrieval > this.DefaultCommandType = CommandType.StoredProcedure; > this.SetUserNameForAudit("BobF"); > } > >public void SetUserNameForAudit(string userName) > { > IDbDataParameter param1 = this.CreateParameter("@userName", 0); > param1.Direction = ParameterDirection.Input; > param1.Value = userName; > IDbCommand retValue = this.ExecSproc("pr_kr_AuditSetUserName", param1); > } >Try using ExecSprocScalar instead. Check out the MM .NET Dev Guide topic "Calling Stored Procedures that Return a Scalar Value" for details.