I receive this error after the
SQLDataReader reader = command.ExecuteReader();
line during debugging. I have tried to figure out where this is at but have been unable to locate it. Can someone look at the end and determine where the error is. Here is my code:
using
{
}
userID = -1;
connection.Open();
reader.Close();