I have a query that I'm running in C# .cs file:
DataSet ds = db.ExecuteDataSet(System.Data.CommandType.Text, "SELECT count(*) as counter FROM [Table] where [Table].[Field] = 'test'");
I want to do is retrieve the value of "counter" in this query and "return" it as my functions return value.
How can I do that?
"SELECT count(tableId) FROM Table ..."