Develop an online exam program with ASP (eight)

Source: Internet
Author: User
program | Online I named the database Onlinetest.mdb. The number of tables in the database depends on the subject or number of accounts. Now we have a total of 5 forms:
Loginuser
Paper
Details
Tblhtml
Tbldhtml
LOGINUSER table Structure
Field Name Data type description
Id Auto Number PRIMARY key
Username Text member name
UserEmail Text member's e-mail address
Password for Password Text member

Details table Structure
Field Name Data type description
Id Auto Number PRIMARY key
REF_ID The reference ID number of the Text member
Subject Text member Selection theme
Score Text member score result

Paper table structure
Field Name Data type description
Id Auto Number PRIMARY key
Topic Text online Quiz to cover part/Topic list
Tbl_name Text contains the relevant table names for the specified topic

tblhtml table Structure
Field Name Data type description
Id Auto Number PRIMARY key
Question Text to display the topic
Choice1 Text for the choice of answers
Choice2 Text for the choice of answers
Choice3 Text for the choice of answers
Choice4 Text for the choice of answers
Answer Text Correct answer

Similarly, tbldhtml is defined in the same way as tblhtml.
I created a separate table for each account, in this case one is HTML and the other is DHTML. It is also easy to add new tables or extend existing ones.



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.