Near the bottom of this code you can see that "spUser" is underlined in red. The error is that spUser does not exist in the current context. I'm sure it's the way I've defined it in the "if" statement above.
How can I create the spUser variable in the if statement so that it can be used in the lines below (in the using block)?
(You can click on this image to make it larger to read)