It's easy! Check out this step-by-step guide for asking an anonymous question on Experts Exchange.
string searchCmd = "SELECT COUNT(*) FROM SiteData WHERE SITE_ID = '" + txtSiteID.Text + "'"; c.CommandText = searchCmd; if(SQLite.conn.State == ConnectionState.Closed) SQLite.conn.Open (); int siteCount = (int)c.ExecuteScalar(); // <------- error occurs here
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.