Last post Nov 02, 2006 07:52 AM by rinaxanir
Oct 31, 2006 01:59 AM|rinaxanir|LINK
I have created a database in microsoft access (tblData) and a aspx web form (Default.aspx).
Now I need to count the numbers of entries in the microsoft access database directly in aspx web pages.
How can i go about doing it?
Oct 31, 2006 03:22 AM|Shreekar|LINK
The access database may contain more than one table. Which table's entrie do you want to count? Depending on the table name, you will need to fire a query of this form - "Select count(*) from <tablename>" and do a ExecuteScalar on it to get the data.
Nov 02, 2006 07:52 AM|rinaxanir|LINK