Sie sind auf Seite 1von 52

ONLINE EXAM SYSTEM

A Project Report Submitted in Partial Fulfillment of the Requirement for the Award of the Degree of BACHELOR OF COMPUTER SCIENCE Submitted By M.TAMILSELVI (REG.NO:10BS9403) Under the Guidance of Miss. J.ARUL MARY, M.C.A., Assistant professor, Department of Computer Science

DEPARTMENT OF COMPUTER SCIENCE Sri G.V.G VISALAKSHI COLLEGE FOR WOMEN An ISO 9001:2008 Certified Institution (Autonomous) Udumalpet-642 128 2012-2013
1

ACKNOWLEDGEMENT

As it is always true in a collaborative undertaking such as this. I have many specific reasons to be grateful to a group of kind hearts who have helped me at every stage of my work. First of all I record my sincere gratitude to the Almighty for His blessings for the successful completion of this project. I would like to express my profound sense of gratitude to our respected madam principal Dr.(Mrs.) J.Manjula,M.A.,M.Phil.,Ph.D., Sri G.V.G Visalakshi College for Women (Autonomous) ,for having entrusted this project. I am greatly indebted to Miss.B.Sreemathi, M.S (IT), M.Phil, Head, Department of Computer Science for her constant help throughout this project. I express my sincere thanks to my guide, Miss.J.Arul Mary, MCA., Assistant Professor, Department of Computer Science for her constant help, involvement, encouragement and for her valuable suggestions to improve and finish the project successfully. I express my deep gratitude and humble thanks to Mr. S.R.Selvaraj, Project Manager,

Infotrack Technology Solutions, Pollachi for lending a helpful hand for the successful completion of my project. I wish to express my love and respect to my parents for their support, contribution and encouragement which helped me a lot to complete this project successfully.

DECLARATION

I hereby declare that the project entitled ONLINE EXAM SYSTEM, Submitted to the Department of Computer Science, Sri G.V.G Visalakshi College for Women, Autonomous, Udumalpet, in the partial fulfillment of the requirement for the Computer Science, is a record of original award of the degree of Master of Science in work done by me Under the guidance of

Miss.J.Arul Mary, MCA., Assistant professor Department of Computer Science, during the period of my study in Sri G.V.G Visalakshi College for Women, Autonomous, Udumalpet.

Place: Udumalpet Date:

Signature of the candidate (M.TAMILSELVI)

CERTIFICATE
This is to certify that the project entitled ONLINE EXAM SYSTEM is the record work done by M.TAMILSELVI (Reg.No.10BS9403) in the partial fulfillment of the requirement for the degree bachelor of computer science in Sri G.V.G visalakshi college for women (Autonomous) ,Udumalpet during the academic year 2012-2013

Submitted for the viva-voice held on

Signature of the guide

Signature of the H.O.D

Signature of the principal

Internal Examiner

External Examiner

CONTENTS

PAGE NO

1. INTRODUCTION 1.1 Problem Definition 1.2 Organization Profile 2. SYSTEM ANALYSIS 2.1 Existing System 2.2 Proposed System 2.3 Project Description 3. SYSTEM REQUIREMENTS 3.1 Hardware Requirements 3.2 Software Requirements 4. SYSTEM DESIGN 4.1 Data Flow Diagram 4.2 System Flow Diagram 4.3 Table Design 5. SYSTEM TESTING 6. SYSTEM IMPLEMENTATION 7. CONCLUSION 8. FUTURE ENHANCEMENT 9. BIBILIOGRAPHY APPENDIX (i) Sample coding (ii) Screen shots 6

1 2 3 4 5

7 8 8 8 13 13 14 15 16 17 18 19 20

21 30

SYNOPSIS
The project is entitled as ONLINE EXAM SYSTEM. It is developed under visual basic.net

as front end tool and SQL server as back end tool. Online examination is an internet based questionnaire. The questions can be categorized according to type, topic etc. online examination helps students and its mission is to offer a quick and easy way to appear for the exam.

MODULES
Login Module Registration Module. Question paper Module LOGIN MODULE Login Module helps the user to login to the site. for that he/she must type the username and password correctly. An already registered user can simply type in his/her valid username and password, and then click the LOGIN button. REGISTRATION MODULE In that page user have to enter Name, Address, Phone number, Email id and date of birth. QUESTION PAPER MODULE After registration, if the user registered as a teacher can create the question and can conducting the exam can also publishing the results and reports. otherwise the user registered as a student can answer the exam. This is provided by create question paper link. In that page user have to enter the questions and options and the right answer.

1.INTRODUCTION

Online Examination helps the students for appearing the exam by online.Its mission is to offer a quick and easy way to appear the exam and it alsoProvide the result immediately after the exam. Through partnerships withagencies\boards which are conducting the multiple choice type examination, itcan provide special advantages to the applicants/students that can't be foundanywhere else. The working of the project is as follows. The first page provides several links. The Home link contains several informations about online examination. it provides a link to the login page.In the Login link a user have to login before entering for the exam. An already registered user can simply type in his\her valid username and password, and then click the "Login" button. This is provided by the Link Examination. The Link Rules and Regulations show some rules and regulations that should be followed by the user. Logout Link will help the user to logout.

1.1 PROBLEM DEFINITION


Online Examination is very helpful to users. The aim of this project is to provide quick, immediate and easy way to appear the exam.It can provide special advantages to the students/applicants that can't be found anywhere else through partnerships with agencies/boards that are conducting the multiple choice type examination. Its working is that students allows registering for the exam and teacher allows registering for conducting the exam.This will continue to grow ultimately providing a wide breadth of services for beneficial to the students. Tests can be created on a random basis per student. The online examination system can automatically add the marks allocated in each question to determine the total mark for the test. The online examination system limits the number of times a student can write a test. Students can be forced to go through all the questions at least once, before exiting the test. Students can be allowed to exit the test before completing all the questions.

2.SYSTEM ANALYSIS
System analysis is the way of studying a system with an eye on solving its problem using computer. It is the most essential part of the development of a project of a system analysis. System analysis consists of system element, process and technology.To analyze a system, has to study the systems in details. The analyst has to understand the functioning and concept of the system in detail, before design the appropriate computer based system that will meet all the requirements of the existing system.The system analyst has to carry out a customary approach to use the computer for problem solving.

10

2.1 EXISTING SYSTEM


The existing system is manual entry of up keeping of the details of the persons who are registered already. And it is very difficult for each person to come to the exam center. It is very difficult to the students from far distance to reach the exam center. This system is required to prepare registration\application form, question paper for the students and required to print a lot of number manually. To calculate how many students registered, and verification of details of these students in a month by hand is very difficult. This requires quite a lot of time and wastage of money as it requires quite lot of manpower to do that. Another factor that takes into account that is the possibility of errors and which requires verification and checking of data relating to various operations which is done manually. The limitation of existing system is that it is not all personalized. It cannot be used for personal and quick reference. Even the other staff members can make quick entries if the responsible person is not present.

11

2.2 PROPOSED SYSTEM


The need for online examination aroused mainly to overcome the drawbacks of the existing system.the main aim of the project is to ensure user friendly and more interactive software to the user. The online examination brings an easy interesting working environment,more clarity in presenting apt information to the user and also it gives faster access and retrieval of information from the database. Through this new system,the drawbacks that have been seen in the existing system can be neglected.under this system questions can be stored and retrieved so that preparing of questions papers each time can be avoided.

ADVANTAGES:
Reduce the time and cost Paper less examination Answers are verified immediately Accurate results.

FEATURES:
Secure Easy to use Reliable and accurate No need of examiner The proposed system is better than existing system.the overall proposed system would be fast and convenient.But the above facilities are not available in the existing system.the time and risk will be reduced.

12

2.3 PROJECT DESCRIPTION


Online Examination System is used for create and taking online examinations. Firstly we have to add a subject.

The different modules are:


Login Module Registration Module. Question paper Module LOGIN MODULE Login module helps the user to login to the site. For that he/she must type the username and password correctly. REGISTRATION MODULE In that page user have to enter Name, Address, Phone number, Email id and date of birth. QUESTION PAPER MODULE After registration, if the user registered as a teacher can create the question and can conducting the exam can also publishing the results and reports. otherwise the user registered as a student can answer the exam. This is provided by create question paper link. In that page user have to enter the questions and options and the right answer.

13

3. SYSTEM REQUIREMENTS

3.1 HARDWARE SPECIFICATION


Processor RAM Hard disk Display Unit Mouse Keyboard Monitor : : : : : : : Pentium V 1 GB 80 GB VGA Standard Mouse Standard Keyboard 14 and above

3.2 SOFTWARE SPECIFICATION


Platform Front End Tool Back End Tool : : : Windows XP VB.NET SQL Server 2000

14

VB.NET
.Net is a framework.this framework provides the new support for software development and operating system support in windows.vb.Net is a language several new ideas and features are added to existing vb object oriented concepts and more controls are added.

Concepts in vb. Net


Solution Explorer The application forms and component added the application. Server Explorer Explorer and access server components in the graphical environment Tool Box Holds controls to create form database connection and code fragments that are dragged to code window from the toolbox. Dynamic Help Provided for beginning for those upgrading to the new environmrnt.

Features of vb.net
Web Services Objects are displayed via the web using simple objects access protocol. Framework Class Liabrary[FCL] Different classes exist so simultaneously in the .net framework. Integrated Development Environment [IDE] All Microsoft language in the .net framework can be developed in the same environment. Common Language Runtime [CLR] All language can be executed in same environment.
15

Error Handling It provides all types of error handling statements such as try, catch and finally same as in java. Co-Existence Both vb and vb.net can exist in the same machine.no classes between two software.it can stand with other software.

WINDOWS XP
Among the new features in windows xp the new security tools are used to keep the computer more secure and new technology. That run in the background, make the computer more secure and run more more efficiently and reliability. Windows firewall, automatic updates and virus protection software are used to keep the computer protected against viruses and other security threats. Windows xp provides expensive online help for all its features. some of the new security are described: Windows firewall Automatic updates Internet explorer Outlook express Windows Firewall Windows firewall is on by default and helps protect the computer against viruses and other security. Threats such as introduces who might try to access computer over the internet.

16

Automatic Updates With automatic updates windows can routinely check for the latest important updates for computer and installed them automatically. Internet Explorer Enabled security settings warn you about viruses and other security threats that can spread over internet explorer. Internet explorer can block certain website features and gives the warning. Outlook Express Enabled security setting is to identify and delete potentially harmful email attachment, which can contain viruses.

17

ABOUT SQL SERVER Microsoft SQL Server is a significant new release of SQL server with version. There were different SQL implementation introduced at time having to integrated data between oracle and SQL Server migrations of data from one implementation to another is also very common in data warehousing environment and organization make the commitment database management system to better support involving business needs. SQL Server workgroup is the new entrant in the product line. Its billed as a small business SQL server and it offers an impressive array of functionality Advantages Maintaining the relationships between data and database. Ensuring the data is stored currently. The rules define the relationships between the data or not violated. Recovery all data to point of known consistency in the event of system failure. Information representation Unique definition of rows. Systematic treatment of null values. Generated access high-level update. Insert and delete the data in a table.

18

4.SYSTEM DESIGN

4.1 DATA FLOW DIAGRAM

Login Module

Registration Module
Studentid Name DOB Address

Question paper

Registration report

Result Details

19

4.2 SYSTEM FLOW DIAGRAM

Keyboard Entry
F

Validation
T

Login Module

Registration Module

Processing

Question Paper

Reports

Registration Module

20

4.3 TABLE DESIGN


TABLE NAME Primary key S.NO 1 2 3 4 5 6 7 8 9 10 : : REGISTRATION MODULE Studentid Data Type Varchar Varchar Datetime Varchar Varchar Varchar Varchar Varchar Varchar Varchar Length 20 30 8 30 30 20 30 20 40 20

Column Name Studentid Name DOB Add1 Add2 Department Emailid Phno City Taluk

21

5.SYSTEM TESTING
Testing is process of executing a program with the intent of finding an error. In this testing phase, the behavior of the source code is tested and also its structural properties. Executing the program on test data can ensure its quality; system testing is the stage of implementation, which is aimed at answering that the system works accurately and efficiently before the line operation comments. Testing is vital to the success of the system.

THE OBJECTIVE OF TESTING Testing is the progress of executing a program with the intent of finding errors. A good test case is one that has a high probability of finding undiscovered errors.

UNIT TESTING
Unit testing comprises the set of test performed by an individual programmer prior to integration of the unit into a larger system. In Unit testing each and every module is tested individually to find out whether retrieval, manipulation and storing of data are done without any loss of data.

INTEGRATION TESTING
In Integration testing, all modules are combined. This testing starts from main menu to entire module. Input is given to check whether all modules are connected properly or not. The main object in this testing is to unit tested modules and build a program structure that has been dictated by design.

VALIDATION TESTING
The rough data is given to all the application and it is tested. The error in the application is validated. In Validation testing, testing about input is checked for Number and Name etc

22

6. SYSTEM IMPLEMENTATION
Implementation is a stage, which is very important in the life cycle of the new system designed. Implementation means converting a new or revised system design into an operational one. This is the final stage of the project where the theoretical design is turned into the working design. Even after the system implementation the requirements of the user may change in the future. The software is designed and developed flexibly, so that it can be subjected to the future change also.

23

7.CONCLUSION
The project report entitled "ONLINE EXAMINATION" has come to its final stage. The system has been developed with much care that it is free of errors and at the same time it is efficient and less time consuming. The important thing is that the system is robust. Also provision is provided for future developments in the system.The entire system is secured. This online system will be approved and implemented soon.

24

8.FUTURE ENHANCEMENT
This project entitled ONLINE EXAM SYSTEM has been developed in a structural manner,which helps for future development. The requirements of the user may change in the future. So the system is developed to enhance the change. Therefore these are opportunities and scope for future enhancement and upgrading are possible in this project. The project is flexible to adapt the changes efficiently without affecting the present system.

25

9.BIBILIOGRAPHY
1. Crouch Matt J, ASP.NET AND VB.NET WEB PROGRAMMING, Pearson Education, II Edition 2. David I. Schnneidev, AN INTRODUCTION TO VISUAL BASIC.NET, McGraw Hill Publications, (Third Edition) 3. Elias, M.Awad, "SYSTEM ANALYSIS AND DESIGN", Galgotia Publication Private Limited, 1994

26

SAMPLE CODINGS
PublicClass frm_Loginmodule PrivateSub bt_login_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles bt_login.Click Dim user AsString user = txt_uname.Text Dim pass AsString pass = txt_pword.Text If user = "tamil"And pass = "1234"Then 'user = "user2" And pass = "pass2" MsgBox("login successful") Me.Hide() frm_registermodule.Show() Else MsgBox("login unsuccessful.please try again.") EndIf EndSub

PrivateSub bt_cancel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles bt_cancel.Click Me.Close() EndSub EndClass

27

PublicClass frm_mdi_online PrivateSub registraterModulesToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RegistrationModuleToolStripMenuItem.Click Dim reg AsNew frm_registermodule reg.Show() reg.MdiParent = Me reg.Top = 0 reg.Left = 0 EndSub PrivateSub LoginModuleToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles LoginModuleToolStripMenuItem.Click Dim log AsNew frm_Loginmodule log.Show() log.MdiParent = Me log.Top = 0 log.Left = 0 EndSub

PrivateSub ExitToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ExitToolStripMenuItem.Click Dim qus AsNew frm_questionpaper qus.Show() qus.MdiParent = Me qus.Top = 0 qus.Left = 0 EndSub PrivateSub ExitToolStripMenuItem1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ExitToolStripMenuItem1.Click End EndSub PrivateSub RegistrationModuleToolStripMenuItem1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RegistrationModuleToolStripMenuItem1.Click Dim qus AsNew Frm_Rep_RegistrationModule qus.Show() qus.MdiParent = Me qus.Top = 0 qus.Left = 0 EndSub EndClass

28

PublicClass frm_questionpaper PrivateSub RadioButton1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton1.CheckedChanged Me.txt_ram.Text = Me.RadioButton1.Text EndSub PrivateSub RadioButton2_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Radiobutton2.CheckedChanged Me.txt_ram.Text = Me.Radiobutton2.Text EndSub PrivateSub RadioButton3_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton3.CheckedChanged Me.txt_ram.Text = Me.RadioButton3.Text EndSub PrivateSub RadioButton4_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton4.CheckedChanged Me.txt_html.Text = Me.RadioButton4.Text EndSub PrivateSub RadioButton5_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton5.CheckedChanged Me.txt_html.Text = Me.RadioButton5.Text EndSub PrivateSub RadioButton6_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton6.CheckedChanged Me.txt_html.Text = Me.RadioButton6.Text EndSub

PrivateSub RadioButton7_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton7.CheckedChanged Me.txt_xml.Text = Me.RadioButton7.Text EndSub PrivateSub RadioButton8_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton8.CheckedChanged Me.txt_xml.Text = Me.RadioButton8.Text EndSub

PrivateSub RadioButton9_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton9.CheckedChanged Me.txt_xml.Text = Me.RadioButton9.Text EndSub

29

PrivateSub RadioButton10_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton10.CheckedChanged Me.txt_www.Text = Me.RadioButton10.Text EndSub PrivateSub RadioButton11_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton11.CheckedChanged Me.txt_www.Text = Me.RadioButton11.Text EndSub PrivateSub RadioButton12_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton12.CheckedChanged Me.txt_www.Text = Me.RadioButton12.Text EndSub PrivateSub RadioButton13_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton13.CheckedChanged Me.txt_cpu.Text = Me.RadioButton13.Text EndSub

PrivateSub RadioButton14_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton14.CheckedChanged Me.txt_cpu.Text = Me.RadioButton14.Text EndSub PrivateSub RadioButton15_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton15.CheckedChanged Me.txt_cpu.Text = Me.RadioButton15.Text EndSub

PrivateSub bt_ok_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles bt_ok.Click If (txt_ram.Text = RadioButton1.Text) Then Me.txt_right.Text = Me.txt_right.Text + 1 Me.txt_wrong.Text = 0 Else txt_wrong.Text = 1 Me.txt_right.Text = 0 EndIf EndSub

30

PrivateSub bt_ok1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles bt_ok1.Click If (txt_html.Text = RadioButton4.Text) Then Me.txt_right.Text = Me.txt_right.Text + 1 Else txt_wrong.Text = txt_wrong.Text + 1 EndIf EndSub

PrivateSub bt_ok2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles bt_ok2.Click If (txt_xml.Text = RadioButton8.Text) Then Me.txt_right.Text = Me.txt_right.Text + 1 Else txt_wrong.Text = txt_wrong.Text + 1 EndIf EndSub

PrivateSub bt_ok3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles bt_ok3.Click If (txt_www.Text = RadioButton12.Text) Then Me.txt_right.Text = Me.txt_right.Text + 1 Else txt_wrong.Text = txt_wrong.Text + 1 EndIf EndSub

PrivateSub bt_ok4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles bt_ok4.Click If (txt_cpu.Text = RadioButton15.Text) Then Me.txt_right.Text = Me.txt_right.Text + 1 Else txt_wrong.Text = txt_wrong.Text + 1 EndIf EndSub EndClass

31

PublicClass frm_registrationmodules Dim cn AsNew SqlClient.SqlConnection PrivateSub bt_save_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handlescmd_save.Click IfMe.comb_stuid.Text <>NothingThen IfMe.txt_name.Text <>NothingThen IfMe.txt_add1.Text <>NothingThen IfMe.txt_add2.Text <>NothingThen IfMe.dtp_DOB.Value <>NothingThen IfMe.comb_dept.Text <>NothingThen IfMe.comb_city.Text <>NothingThen IfMe.comb_taluk.Text <>NothingThen IfMe.comb_district.Text <>NothingThen IfMe.txt_email.Text <>NothingThen IfMe.txt_phno.Text <>NothingThen EndIf Call save_code() Else MessageBox.Show("phno missing") Me.txt_phno.Focus() EndIf Else MessageBox.Show("email missing") Me.txt_email.Focus() EndIf Else MessageBox.Show("district missing") Me.comb_district.Focus() EndIf Else MessageBox.Show("taluk missing") Me.comb_taluk.Focus() EndIf Else MessageBox.Show("city missing") Me.comb_city.Focus() EndIf Else MessageBox.Show("DOB missing") Me.dtp_DOB.Focus() EndIf Else MessageBox.Show("add2 missing") Me.txt_add2.Focus() EndIf
32

Else MessageBox.Show("add1 missing") Me.txt_add1.Focus() EndIf Else MessageBox.Show("name missing") Me.txt_name.Focus() EndIf Else MessageBox.Show("studentid missing") Me.comb_stuid.Focus() EndIf EndSub

Sub save_code() Dim s AsNew SqlClient.SqlCommand s.CommandText = "insert into registrationmodules(Studentid,name,add1,add2,DOB,department,city,taluk,district,Emailid,phno)values(" s.CommandText = s.CommandText &"'"&Me.comb_stuid.Text &"'," s.CommandText = s.CommandText &"'"&Me.txt_name.Text &"'," s.CommandText = s.CommandText &"'"&Me.txt_add1.Text &"'," s.CommandText = s.CommandText &"'"&Me.txt_add2.Text &"'," s.CommandText = s.CommandText &"'"& Format(Me.dtp_DOB.Value, "MM/dd/yyyy") &"'," s.CommandText = s.CommandText &"'"&Me.comb_dept.Text &"'," s.CommandText = s.CommandText &"'"&Me.comb_city.Text &"'," s.CommandText = s.CommandText &"'"&Me.comb_taluk.Text &"'," s.CommandText = s.CommandText &"'"&Me.comb_district.Text &"'," s.CommandText = s.CommandText &"'"&Me.txt_email.Text &"'," s.CommandText = s.CommandText &"'"&Me.txt_phno.Text &"'"&")" s.Connection = cn s.ExecuteNonQuery() Call reset() EndSub

33

PrivateSub frm_registrationmodules_Load(ByVal sender As System.Object, ByVal e AsSystem.EventArgs) HandlesMyBase.Load cn.ConnectionString = "server=.;Trusted_Connection=True;Database=OnlineExamSystem" cn.Open() EndSub Sub reset() Me.comb_stuid.Text = Nothing Me.txt_name.Text = Nothing Me.txt_add1.Text = Nothing Me.txt_add2.Text = Nothing Me.dtp_DOB.Text = Nothing Me.comb_dept.Text = Nothing Me.comb_city.Text = Nothing Me.comb_taluk.Text = Nothing Me.comb_district.Text = Nothing Me.txt_email.Text = Nothing Me.txt_phno.Text = Nothing EndSub PrivateSub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handlesbt_exit.Click End EndSub

EndClass

34

REPORT
PublicClass Frm_Rep_RegistrationModule Dim cn AsNew SqlClient.SqlConnection

PrivateSub Cmd_Show_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmd_show.Click Dim adp AsNew SqlClient.SqlDataAdapter Dim ds AsNew DataSet

''adp = New SqlClient.SqlDataAdapter("Select sum(invoiceAmt) from InvoiceMaster Where InvoiceDt >='" & Format(Me.DTP_From.Value, "MM/dd/yyyy") & "' And InvoiceDt <='" & Format(Me.Dtp_To.Value, "MM/dd/yyyy") & "' Order by InvoiceDt Desc", cn) adp = New SqlClient.SqlDataAdapter("Select Studentid[Studentid],name,add1,DOB,department,phno from registrationmodules order by Studentid", cn) adp.Fill(ds) Me.DG1.DataSource = ds.Tables(0) Me.DG1.Columns(0).Width = 100 Me.DG1.Columns(0).Width = 120 Me.DG1.Columns(0).Width = 150 Me.DG1.Columns(0).Width = 100 Me.DG1.Columns(0).Width = 150 Me.DG1.Columns(0).Width = 200 EndSub

PrivateSub Frm_Rep_RegistrationModule_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) HandlesMyBase.Load cn.ConnectionString = "server=.;Trusted_Connection=True;Database=OnlineExamSystem" cn.Open() EndSub EndClass

35

SCREEN SHOTS

36

37

38

39

Login Module

40

Registration Module

41

Question Paper Module

42

Report
Registration Module

43

9.BIBILIOGRAPHY
1.Crouch Matt J, ASP.NET AND VB.NET WEB PROGRAMMING, Pearson Education, II Edition 2.David I. Schnneidev, An Introduction to Visual Basic.Net, McGraw Hill Publications, (Third Edition) 3.Elias, M.Awad, "System Analysis and design", Galgotia Publication Private Limited, 1994

44

45

46

47

48

49

50

51

52

Das könnte Ihnen auch gefallen