HitCounter 3

assaultkitty
assaultkitty used Ask the Experts™
on
I have to create a hitcounter in ASP.NET and C#.  The project request is that I create a HitCounter class that counts the number of hits to a Web page and stores the results in a database. Use a private data member to store the number of hits and include public set and get member functions to access the private counter member variable.  Save the project in a folder named Hit Counter in you Projects folder for Chapter 10.  


I need to know how to create a select statement for one column in a database for one column.  I am using the Microsoft 2008 Web developer.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Author

Commented:
This is homework.
select HitCounter from SummaryTable

AW

Author

Commented:
When I go to the database. It just have the select and from I will try this later.  Thanks.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial