operator not defined for System.Data.SqlClient.SqlConnection and System.Data.SqlClient.SqlConnection
- by Beta033
i hope i'm just doing something wrong here.
Ideally i'm trying to open the connection, open a transaction
execute a ton of prebuilt sqlstatements (with parameters) against this connection
then close the connection. ideally all in the same batch.
It's easy enough to wrap this all in a for loop, however i'd like to use the forEach function of the…