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.