SyntaxFix
Write A Post
Hire A Developer
Questions
Always have a check before reading row.
if (SqlCommand.ExecuteScalar() == null) { }