We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
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.
|question about results where i dont have a match||3||44|
|How to create XML in below format from SQL Query in SQL Server?||3||57|
|Finding Where Clause Value in SQL Views and SP||21||62|
|SQL - Result of a formula to decimal (not integer) value||7||24|
Join the community of 500,000 technology professionals and ask your questions.