I\'m trying to save data to SQL Server. That works fine but the rowsAffected is always returning a -1 value.
rowsAffected
-1 value
This is my code in DBConnection.