(original source code http://dotnet.tekyt.info/?p=34)
Changes added
1) Add configurable parameter for Total No of Questions in the pool and Number of questions to display
2) Change database from mysql to Sql Server 2005 express
3) Enabled/Disabled previous and next buttons and Show final marks button
4) Fixed issue with the Timer - it wasn’t displaying for me
5) Added pieces of code to email the score of the online test as well as store the score in a database table
6) Several other small enhancements/fixes to make it work better and bug free
Code has been uploaded here
Installation and configuration
1. You may need a bit of effort to pore through the code
Some info might help
- The online examination is under RAT folder of your root (there are two web.config file, one should be under the root director and other under RAT folder)
- Put in database server info, username, password etc in the web.config (of the root folder)
- Put in smtp mail info as per your website host
2. I have added a module whereby depending upon no of correct answers, a scholarship email will be sent to the entrant (you can create any webpage, and specify the link in the code whereby the whole webpage can be sent via email)
3. The default.aspx page is made such that depending upon the user authenticated (username: admin can give the test any number of times) and others (if given earlier - will not be allowed to give again)
All source code is there - feel free to modify and understand. For any questions, you are welcome to comment or email me