C
Claire
Sorry, Im very new to this.
Visual studio .net compact framework. Working on an Access database on a
pocket PC
What I want to know is how to retrieve values (not records) from an SQL
query. In this case it's to retrieve the total number of records in my
table.
My code is as follows, now I'm stuck.
string LocalConnection = "Data Source="\My Documents\PocketVibrAPro.cdb";
string QueryString = "SELECT COUNT(*) FROM TBLDATAFILES";
AdoceConnection cn = new AdoceConnection(LocalConnection);
AdoceDataAdapter DataAdapter = new AdoceDataAdapter(QueryString, cn);
Visual studio .net compact framework. Working on an Access database on a
pocket PC
What I want to know is how to retrieve values (not records) from an SQL
query. In this case it's to retrieve the total number of records in my
table.
My code is as follows, now I'm stuck.
string LocalConnection = "Data Source="\My Documents\PocketVibrAPro.cdb";
string QueryString = "SELECT COUNT(*) FROM TBLDATAFILES";
AdoceConnection cn = new AdoceConnection(LocalConnection);
AdoceDataAdapter DataAdapter = new AdoceDataAdapter(QueryString, cn);