net student attendance management system based on asp system on B / S

In school, students are in class attendance school students final grade is an important indicator of the rate of students in class to class is also an objective assessment of the quality of teachers. For a long time, student attendance checks are dependent on the instructor manual recording, the face of so many student information, teacher information and delivery information can only rely on statistics eleven classroom teachers before school, so teachers are very hard and tiring, due to the statistical information it is very large, so the development of student attendance management system design.
The design uses technology developed ASP.NET-based Browser / Server architecture, development tools in Visual Studio, C # as the development language, using ADO.NET to connect with back-end database, complete add data, modify, delete, query, etc. Features. This system provides a powerful data manipulation functions, user-friendly, easy to use, while based on B / S mode. Carried out the actual demand for time and attendance management students study student attendance management systems, analysis, design, paper studies the functional properties of student attendance management system, the system carried out a detailed business functional requirements analysis and system requirements analysis, including the system of business process analysis, the system functions and functional structure of the system described. On this basis, the paper carried out the overall architecture of the system design: system architecture, network architecture and function module design research, design, detailed design of the various subsystems, and related databases. Papers are from the design principle of the system, development model, module design, system management control and data processing aspects to elaborate.

 

protected void Button1_Click(object sender, EventArgs e)

{

DataSet result = new DataSet();

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

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

if (result != null)

{

if (result.Tables[0].Rows.Count > 0)

{

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

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

{

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

 

}

else

{

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

}

Response.Redirect("main.aspx");

}

else

{

Response.Write("<script>javascript:alert('对不起,用户名或密码不正确!');history.back();</script>");

}

}

else

{

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

} 

}

 

 

Guess you like

Origin www.cnblogs.com/rt14/p/11573065.html