I have a stored procedure that does a lot of stuff based on if the person's password fits the criteria. I don't need it to return anything. Just execute the procedure.
I was looking at THIS and it seems all of the Execute(blah)
extensions return something. Is there an Execute(blah)
for SqlCommand
that just executes the procedure and doesn't return anything?
You can use ExecuteNonQuery. It will return the number of rows affected, just don't assign it.