Project Description

This is an online quiz developed using C# and ASP.Net 4.0. This is a simple application using parametrised SQL queries and web forms.

How this works:-

1. Admin creates the quiz and set up the questions for that quiz. Questions are multiple choice.

2. When the user completes the quiz, they are marked automatically and displayed on the screen.

3. The responses are available for admin to export as excel/word/PDF files.

Steps to deploy:-

1. Download the files here and unzip them. Open visual studio and click File -> Open -> Web Site.

Locate the downloaded files. This will create a new project/solution.

2. Click the source code tab for this project. Open SQL server management studio and create a database called quizdb. When you have created the database, open the new query window and copy/paste the quiz.sql file content and execute (run the query). This will create the required tables and relationships.

3. Now the files and database has been set up. We just need to link them. Open the web.config file and update the connectionstring. Ensure the database name, username and password are correct. 

4. Build and run the application. That's it.

Happy coding!!

Rate this if you like it. Feel free to extend it per your needs.

Last edited Aug 29, 2014 at 4:18 PM by sampathN, version 11