A voting system I wrote before used VS2005+SQLEXPRESS2005
It can’t be considered a system. Haha, it’s just a general voting function. The interface doesn’t have any beautification. It’s very simple and very suitable for getting started.
When the SQL database is in sql format under App_Data, you only need to modify the DB string under App_Code.
I've commented some of the code, although it's not very detailed, but it should be understandable.
The function is relatively simple, only the functions of voting and viewing results. The IP of voting users is not restricted when voting.
The public head and tail folders are called using user controls.
Under DB is the Sql2005 database file, just attach it
Please modify the database connection character information in App_Code/DB.cs in the database configuration file.