asp student achievement management information system B / S-based

Modern society is an era of innovation, development of the network has played a significant role. Through the network can complete a variety of different needs, students can also online access to information, to learn, to achieve the purpose of expansion of knowledge. This topic has been entered and a summary for each student test scores, you can query the information of students according to different situations. In order to be able to timely grasp of student learning, can provide a reasonable guide to the different stages of student learning, therefore, the modern advanced technology and analytical methods used in the education sector is necessary, the study of student achievement management is very meaningful.
According to the status quo and development trend of the system, from system requirements analysis, architecture design, database design, to system implementation, respectively, front-end and back-end to achieve realization. From the content of the paper describing the system, system analysis, system design, system implementation, system testing to explain the system development process. This system seeks to combine practical to find a viable development program, after repeated research and learning, with the programming language C #, asp.net technology, sqlserver database and tomcat server to perform all functions of the system, the final system testing to detect system privileges and loopholes, which will improve the system, to meet the standards.

The system consists of several function modules, including user management system, student information management, information management teacher, course information management, performance information management, school management, professional management modules, of which the most important module.

The system includes three modules: Student module, the administrator module, teacher module.

1. Students, teachers rights

User login authorization: a user opens a login page, you can select a teacher or student login, verify that the correct form allows browsing page.

Modify Personal Information: Students and teachers may need to edit your information, including user names and upload an avatar based on personal, for the convenience of management, students and teachers of the user name and password using uniform payment type, if you need to modify must be logged on to prevent information leakage .

View results: Students can view their results in professional student management system, student information system by matching the student number and semester students choose to student achievement printed.

2. Students basic information entry

Enter basic information includes the student's professional school, name, sex, date of birth, education level, place of birth, nationality, date of admission, registration is mainly for student information.

3. Basic information into teachers

Enter basic information includes teacher teacher job number, name, sex, date of birth, education level, place of birth, nationality, Bishop courses, mainly for teachers to register information.

4. Course information input.

The main course is for students to learn information to add, modify and delete. Administrators Course Title Course name input box you want to add, click the Add button.

The performance information entry.

In this window, enter the administrator to select the number of students and examination number, the system auto-complete data, and then enter the results of the examinations course. If you click on the "results have been entered delete" button achievement information will already be entered deleted. Teachers can enter grades to students management systems, teacher input result when, through the web directly into excel spreadsheet entered into the database, and the information which can be modified.

The system decomposition accordance with the basic concept of system development, from the main module can be divided into user module and administrator module.

As long as the user module is to allow ordinary users, including query performance, management, as long as the administrator module allows administrators to use, including user management system (system user input, delete, modify, modify password), Student Information Management (student information entry , delete, modify), teacher information management (teacher information input, delete, modify), course information management (course information input, delete, modify), performance information management (student achievement input, delete, modify), the data can be added , delete, modify and query operations.

 

<TR

align=middle bgColor=#ffffff>

<td colspan="4" bgColor=#CADCEA><strong>系统基本信息</strong></td>

</TR>

<TR   align=middle

bgColor=#ffffff>

<TD width="14%" align="left" valign="bottom" >当前用户:</TD>

<TD width="37%"  align="left" valign="bottom" ><font class="t4"><%=request.getSession().getAttribute("username")%></font></TD>

<TD width="9%"  align="left" valign="bottom" >您的权限:</TD>

<TD width="40%"  align="left" valign="bottom" ><font class="t4"><%=request.getSession().getAttribute("cx")%></font></TD>

</TR>

<TR   align=middle

bgColor=#ffffff>

<TD height="38" align="left" valign="bottom"  >当前日期:</TD>

<TD  align="left" valign="bottom" ><%asp.net.util.Date date = new asp.net.util.Date();

asp.net.text.SimpleDateFormat format = new asp.net.text.SimpleDateFormat("yyyy-MM-dd", asp.net.util.Locale.CHINA);

 

 

protected void Button1_Click(object sender, EventArgs e)

{

if (TextBox2.Text.ToString().Trim() == "" || TextBox1.Text.ToString().Trim() == "" || yzm.Text.ToString().Trim() == "")

{

Response.Write("<script>javascript:alert('请输入完整');location.href='login.aspx';</script>");

Response.End();

}

if (Session["code"].ToString().Trim().Equals(yzm.Text.Trim()))

{

 

}

else

{

Response.Write("<script>javascript:alert('验证码有误');location.href='login.aspx';</script>");

Response.End();

}

string sql = "";

if (cx.Text.ToString().Trim() == "管理员")

{

sql = "select * from allusers where username='" + TextBox1.Text.ToString().Trim() + "' and pwd='" + TextBox2.Text.ToString().Trim() + "' ";

}

if (cx.Text.ToString().Trim() == "
SQL
{)"Employees

= "select * from yuangong where gonghao='" + TextBox1.Text.ToString().Trim() + "' and mima='" + TextBox2.Text.ToString().Trim() + "' ";

}

&nbsp;

DataSet result = new DataSet();

result = new Class1().hsggetdata(sql);

// result = new TestOnline.Class1().hsggetdata(sql);

if (result != null)

{

if (result.Tables[0].Rows.Count &gt; 0)

{

Session["username"] = TextBox1.Text.ToString().Trim();

&nbsp;

if (cx.Text.ToString().Trim() == "管理员")

{

Session["cx"] = result.Tables[0].Rows[0]["cx"].ToString().Trim();

}

else

{

Session["cx"] = cx.Text.ToString().Trim();

&nbsp;

}

&nbsp;

&nbsp;

Response.Redirect("main.aspx"); 

} 

The else 

{ 

Response.Write ( " & lt; Script & gt; JavaScript: Alert ( '! I'm sorry, user name or password is incorrect, or your account unaudited'); & lt; / Script & gt; " ); 

} 

} 

the else 

{ 

Response.Write ( " & lt; Script & gt; JavaScript: Alert ( 'I'm sorry, a system error, do not unauthorized operation!'); & lt; / Script & gt; " ); 

} 

}

 

 

Guess you like

Origin www.cnblogs.com/lqs11/p/11569372.html