asp 课程设计源代码-人事管理系统
- 格式:doc
- 大小:176.50 KB
- 文档页数:31
软件工程课程设计-人事管理系统(可编辑优质文档)软件工程课程设计-人事管理系统(可编辑优质文档)一、引言人事管理系统是一种集成化的软件系统,旨在优化和简化人事部门的工作流程和管理过程。
本文将介绍一个可编辑优质文档的人事管理系统的设计与实现。
二、系统概述人事管理系统是基于软件工程理论和技术开发的一个综合性管理系统,旨在改善和优化企业的人力资源管理过程。
系统的主要功能包括员工信息管理、考勤管理、招聘管理、绩效管理和报表统计等。
三、系统设计1. 员工信息管理在该系统中,可以录入和管理员工的基本信息,包括姓名、性别、出生日期、部门、职位、工资等。
同时,系统支持对员工信息进行查询、修改和删除等操作。
2. 考勤管理系统能够记录和管理员工的出勤情况,包括正常考勤、迟到、早退、请假和加班等。
通过与系统的集成,员工可以使用指纹识别等方式进行考勤打卡,实现自动化和精确化的考勤管理。
3. 招聘管理该系统提供了一套完整的招聘流程管理功能,包括发布招聘信息、简历筛选、面试安排和录用等。
招聘管理功能不仅节约了人力资源部门的时间和精力,还可以提高招聘效率和招聘质量。
4. 绩效管理系统支持对员工的绩效进行评估和管理,包括设定绩效指标、考核分数录入、绩效排名和薪资调整等。
通过与考勤管理和员工信息管理的结合,系统可以自动生成绩效报告和分析数据。
5. 报表统计系统能够自动生成各类人事管理报表,可以根据需求自定义报表样式和内容。
通过数据的可视化展示,管理人员能够及时了解企业的人力资源情况,为决策提供参考依据。
四、系统实现技术1. 前端技术人事管理系统的前端采用现代化的Web技术进行实现,包括HTML、CSS和JavaScript等。
前端界面设计简洁美观,用户友好,支持响应式布局,适配不同设备和屏幕尺寸。
2. 后端技术人事管理系统的后端采用了流行的开发框架和技术,如Java、Spring Boot和MySQL等。
采用面向对象的设计思想,系统结构清晰,模块化程度高,易于扩展和维护。
附录:源程序代码1).default.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default2" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="/1999/xhtml"><head id="Head1" runat="server"><title>无标题页</title><style type="text/css">#form1{height: 213px;}.style2{width: 100%;height: 211px;}.style6{width: 99px;}.style3{text-align: center;}</style></head><body bgcolor="#ccffcc"><form id="form1" runat="server"><table class="style2"><tr><td class="style4" colspan="2"><span class="Apple-style-span"style="color: rgb(0, 0, 0); font-family: 楷体_GB2312; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: center; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust:auto; -webkit-text-stroke-width: 0px; ">人事信息管理系统</span></td><td rowspan="5"><img alt="" src="images/4ce6a7a5e39e3e49156444f3e340dc21.jpg"style="width: 853px; height: 193px" /> </td></tr><tr><td class="style6">用户名:</td><td class="style3"><asp:TextBox ID="TextBox1" runat="server" Height="22px" Width="128px"></asp:TextBox></td></tr><tr><td class="style6">用户密码:</td><td class="style3"><asp:TextBox ID="TextBox2" runat="server" Height="22px" TextMode="Password"Width="128px"></asp:TextBox></td></tr><tr><td class="style5" colspan="2"><asp:CheckBox ID="CheckBox1" runat="server" Text="记住用户" /> </td></tr><tr><td class="style3" colspan="2"><asp:Button ID="Button1" runat="server" Height="31px" onclick="Button1_Click"style="text-align: center" Text="登录" Width="50px" /></td></tr></table></form></body></html>2)Default.aspx.csusing System;using System.Collections;using System.Configuration;using System.Data;using System.Linq;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.HtmlControls;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Xml.Linq;using System.Data.OleDb;public partial class Default2 : System.Web.UI.Page{protected void Page_Load(object sender, EventArgs e){this.Title = "学生信息管理系统-----登录";}protected void Button1_Click(object sender, EventArgs e){OleDbConnection conn = new OleDbConnection();string Id = TextBox1.Text;conn.ConnectionString = "provider=Microsoft.Jet.OleDb.4.0;" + "Data Source=" + Server.MapPath("App_Data/student.mdb");string StrSel = "Select * from message where id='" + TextBox1.Text + "'and pwd='" + TextBox2.Text + "'";conn.Open();OleDbCommand com = new OleDbCommand(StrSel, conn);OleDbDataReader dr = com.ExecuteReader();dr.Read();if (dr.HasRows){Session["pass"] = TextBox1.Text;Server.Transfer("glxt.aspx");Response.Redirect("glxt.aspx");}else{Response.Redirect("Default.aspx");}conn.Close();}}3)Glxt.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeFile="glxt.aspx.cs" Inherits="glxt" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="/1999/xhtml"><head id="Head1" runat="server"><title>无标题页</title><style type="text/css">body {margin-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;background-color:#CCFFCC;}.STYLE1 {font-size: 12px;color: #FFFFFF;}.STYLE3 {font-size: 12px;color: #033d61;text-decoration:none;background-image:login_2.jpg;}#left{float:left;width:177px;}.STYLE4{float:left;clear:right;width:804px;background-image:content_1.jpg;height: 1032px;}.style2{width: 788px;height: 23px;}.style3{width: 817px;}.style4{height: 26px;}.style5{height: 91px;}p.p0{margin:0pt;margin-bottom:0.0001pt;margin-bottom:0pt;margin-top:0pt;text-align:justify;font-size:10.5000pt; font-family:'Times New Roman'; }.style6{width: 285px;height: 43px;}.style7{width: 100px;height: 43px;}.style9{width: 6px;}#form1{height: 307px;width: 1321px;}.style10{height: 43px;}</style></head><body bgcolor="White" ><form id="form1" runat="server"><div><table border="0" cellpadding="0" cellspacing="0"style="height: 303px; width: 130px"><tr><td height="70"><table bgcolor="#CCFFCC" border="0" cellpadding="0" cellspacing="0"width="100%"><tr><td bgcolor="White" class="style5"><table border="0" cellpadding="0" cellspacing="0"style="height: 265px; width: 1141px;"><tr><td bgcolor="White" style="width: 291px" width="270"><img alt="" src="images/6b5f60fc09e584574192f873acda8d85.jpg"style="width: 1392px; height: 252px; margin-top: 0px;" /><span class="STYLE3"><tableborder="0" cellpadding="0" cellspacing="0"style="height: 47px; width: 1389px;"><trbgcolor="#CCFFCC"><td class="style6" bgcolor="#CCFFCC"><spanclass="STYLE3"> <asp:Label ID="Label2" runat="server"></asp:Label><br /> <asp:Label ID="Label1" runat="server"></asp:Label></span></td><td class="style7" bgcolor="#CCFFCC"><spanclass="STYLE3"><asp:LinkButton ID="LinkButton6" runat="server" onclick="LinkButton6_Click"Font-Size="Large" Height="26px" Width="93px"><spanclass="style3">公司简介</span></spanclass="style3"></asp:LinkButton></span></td><tdclass="style10"><asp:LinkButton ID="LinkButton7" runat="server" onclick="LinkButton7_Click"Font-Size="Large" Height="26px" Width="72px"><spanclass="style3">信息查询</span></spanclass="style3"></asp:LinkButton><asp:LinkButton ID="LinkButton18" runat="server" onclick="LinkButton18_Click"Font-Size="Large" Height="26px" Width="80px"><spanclass="style3">信息修改</spanclass="style3"></asp:LinkButton><asp:LinkButton ID="LinkButton20" runat="server" Font-Size="Large"Height="26px" PostBackUrl="add.aspx" Width="80px" onclick="LinkButton20_Click">添加信息</asp:LinkButton><asp:LinkButton ID="LinkButton17" runat="server" onclick="LinkButton17_Click"Font-Size="Medium" Height="26px" Width="100px" style="margin-left: 108px">密码修改</asp:LinkButton> <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Default.aspx"Font-Size="Medium" Height="26px" Width="91px">退出</asp:HyperLink></td></tr></table></span></td></tr></table></td></tr><tr><td height="8" style="line-height: 8px;"> </td></tr></table></td></tr></table></div><div id="left"><table border="0" cellpadding="0" cellspacing="0" height="100%" width="165"> <tr><td height="28"><table border="0" cellpadding="0" cellspacing="0" width="100%"bgcolor="#CCFFCC"><tr><td width="19%"><spanclass="STYLE3"> <br /><br /></span></td></tr></table></td></tr><tr><td valign="top"><table align="center" bgcolor="White" border="0" cellpadding="0"cellspacing="0" width="151"><tr><td><table border="0" cellpadding="0" cellspacing="0"style="width: 118%; height: 379px"><tr><td height="23" bgcolor="#CCFFCC"><table border="0" cellpadding="0" cellspacing="0" width="100%"bgcolor="#CCFFCC"><tr><td class="style9"> </td><td class="STYLE3" width="82%"><tablealign="center" border="0" cellpadding="0" cellspacing="0"width="90%"style="height: 217px" bgcolor="#CCFFCC"><tr><td height="25"><div align="center"></div></td><td height="23" width="84%"><table border="0" cellpadding="0" cellspacing="0" style="width: 95%"><tr><td height="20"> </td></tr></table></td></tr><tr><td height="23"><div align="center"></div></td><td height="23"><table border="0" cellpadding="0" cellspacing="0"style="height: 40px; width: 122%"><tr><td height="20"> </td></tr></table></td></tr><tr><td height="23"><div align="center"></div></td><td height="23"><table border="0" cellpadding="0" cellspacing="0" width="95%"><tr><td height="20"> </td></tr></table></td></tr><tr><td height="23"><div align="center"></div></td><td height="23"><table border="0" cellpadding="0" cellspacing="0" width="95%"><tr><td height="20"></span></td></tr></table></td></tr></table><br /><br /><br /><br /><br /><br /><br /><br /></td></tr></table></td></tr><tr><td id="submenu1" bgcolor="#CCFFCC"><div class="sec_menu"></div></td></tr></table></td></tr><tr><td><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td height="23" bgcolor="#CCFFCC"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td width="18%"> </td><td class="STYLE1" width="82%"><div align="center" style="width: 149px"></div></td></tr></table></td></tr><tr><td id="submenu2" bgcolor="#CCFFCC"><div></div></td></tr></table></td></tr><tr><td><table border="0" cellpadding="0" cellspacing="0" style="width: 118%"><tr><td height="23" bgcolor="#CCFFCC"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td width="18%"> </td><td class="STYLE1" width="82%"> </td></tr></table></td></tr><tr><td bgcolor="#CCFFCC"><div><asp:Panel ID="Panel3" runat="server"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td><tablealign="center" border="0" cellpadding="0" cellspacing="0" width="90%"><tr><td height="25" style="width: 100%" width="16%"><div align="center"></div><table border="0" cellpadding="0" cellspacing="0" width="95%"><tr><td height="20"> </td></tr></table></td></tr></table></td></tr></table></asp:Panel></div></td></tr><tr><td class="style4" bgcolor="#CCFFCC"></td></tr><tr><td bgcolor="#CCFFCC"><div><table border="0" cellpadding="0" cellspacing="0" style="width: 100%"><tr><asp:Panel ID="Panel4" runat="server"><td><tablealign="center" border="0" cellpadding="0" cellspacing="0" width="90%"><tr><td height="25" width="16%"><div align="center"></div></td><td height="23" width="84%"><table border="0" cellpadding="0" cellspacing="0" width="95%"><tr><td height="20"><asp:LinkButton ID="LinkButton15" runat="server"><span class="STYLE3"></span></asp:LinkButton></td></tr></table></td></tr><tr><td height="23"><div align="center"></div></td><td height="23"><table border="0" cellpadding="0" cellspacing="0" width="95%"><tr><td height="20"><asp:LinkButton ID="LinkButton16" runat="server"><span class="STYLE3">登录记录</span></asp:LinkButton></td></tr></table></td></tr></table></td></asp:Panel></tr><tr><td height="5"> </td></tr></table></div></td></tr></table></td></tr></table></td></tr></table></div><div class="STYLE4"><asp:Panel ID="Panel5" runat="server" BackColor="#CCFFCC"><table bgcolor="Gray"><tr><td bgcolor="White" class="style3"><table><tr><td bgcolor="White" class="style2"><span style="mso-spacerun:'yes'; font-size:10.5000pt; font-family:'Times New Roman'; "> xx<font face="宋体">商贸有限公司是国家外经贸局,海关总署批注的有进出口权的公司,公司有雄厚的经济基础,强大的关系网络,完备的技术和人员配置,随着我国加入</font><fontface="Times New Roman">WTO</font><font face="宋体">,进出口贸易的日益增长,为了进一步满足贸易商、进出口商的需求,我公司为商家精心打造了门到门的一站式服务。
using System;using System.Collections;using System.Configuration;using System.Data;using System.Linq;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.HtmlControls;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Xml.Linq;namespace WebApplication1{public partial class WebForm1 : System.Web.UI.Page{protected void Page_Load(object sender, EventArgs e){}protected void Button1_Click(object sender, EventArgs e) {Response.Redirect("~/登录.aspx");}protected void Button2_Click(object sender, EventArgs e) {Response.Redirect("~/人员信息查询.aspx");}protected void Button3_Click(object sender, EventArgs e){Response.Redirect("~/人员修改.aspx");}protected void Button4_Click(object sender, EventArgs e) {Response.Redirect("~/部门信息.aspx");}protected void Button5_Click(object sender, EventArgs e) {Response.Redirect("~/工资信息.aspx");}}}using System;using System.Collections;using System.Configuration;using System.Data;using System.Linq;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.HtmlControls;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Xml.Linq;using System.Data.SqlClient;namespace WebApplication1{public partial class部门信息 : System.Web.UI.Page{protected void Page_Load(object sender, EventArgs e){}protected void Button1_Click(object sender, EventArgs e){bool find =false;SqlConnection con=new SqlConnection("server=localhost;Integrated Security=SSPI;database=人事管理系统");con.Open();string cmdstr="select * from 部门表";SqlDataAdapter da=new SqlDataAdapter(cmdstr,con);DataSet ds=new DataSet();da.Fill(ds);for(int i=0;i<ds.Tables[0].Rows.Count;i++){for(int j=0;j<ds.Tables[0].Columns.Count;j++){String data=(ds.Tables[0].Rows[i][j].ToString()).Trim();if(data==TextBox1.Text.Trim()){TextBox2.Text=ds.Tables[0] .Rows[i]["部门代码"].ToString();TextBox3.Text=ds.Tables[0] .Rows[i]["部门名称"].ToString();find=true;}}}if (find == false){Response.Write("<script>window.alert('没有有关记录!')</script>"); con.Close();}}protected void Button2_Click(object sender, EventArgs e){Response.Redirect("~/Default.aspx");}}}using System;using System.Collections;using System.Configuration;using System.Data;using System.Linq;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.HtmlControls;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Xml.Linq;using System.Data.SqlClient;using System.Data.SqlTypes;namespace WebApplication1{public partial class_Default : System.Web.UI.Page{protected void Page_Load(object sender, EventArgs e){}protected void TextBox1_TextChanged(object sender, EventArgs e){}protected void Button1_Click(object sender, EventArgs e){SqlConnection con = new SqlConnection("server=localhost;IntegratedSecurity=SSPI;database=人事管理系统");string strCount;strCount = "select * from 人事表"; con.Open();SqlCommand com = new SqlCommand(strCount, con);SqlDataReader dr = com.ExecuteReader();string strUsername = "", strPassword = "";while (dr.Read()){if (TextBox1.Text == dr["编号"].ToString()||TextBox2.Text == dr["顾客密码"].ToString()){strUsername = dr["编号"].ToString();strPassword = dr["顾客密码"].ToString();break;}}dr.Close();con.Close();if (strUsername == ""){Response.Write("<script language=javascript>alert('登录成功!');</script>");return;}}protected void Button2_Click(object sender, EventArgs e){Response.Redirect("~/Default.aspx");}}}using System;using System.Collections;using System.Configuration;using System.Data;using System.Linq;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.HtmlControls;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Xml.Linq;using System.Data.SqlClient;namespace WebApplication1{public partial class工资信息 : System.Web.UI.Page{protected void Page_Load(object sender, EventArgs e){}protected void TextBox2_TextChanged(object sender, EventArgs e){}protected void TextBox5_TextChanged(object sender, EventArgs e){}protected void Button1_Click(object sender, EventArgs e){bool find = false;SqlConnection con = new SqlConnection("server=localhost;Integrated Security=SSPI;database=人事管理系统");con.Open();string cmdstr = "select * from 工资表";SqlDataAdapter da = new SqlDataAdapter(cmdstr, con);DataSet ds = new DataSet();da.Fill(ds);for (int i = 0; i < ds.Tables[0].Rows.Count; i++){for (int j = 0; j < ds.Tables[0].Columns.Count; j++){String data = (ds.Tables[0].Rows[i][j].ToString()).Trim();if (data == TextBox1.Text.Trim()){TextBox2.Text = ds.Tables[0].Rows[i]["应发工资"].ToString(); TextBox3.Text = ds.Tables[0].Rows[i]["岗位津贴"].ToString(); TextBox4.Text = ds.Tables[0].Rows[i]["奖励"].ToString();TextBox5.Text = ds.Tables[0].Rows[i]["保险"].ToString();find = true;}}}if (find == false){Response.Write("<script>window.alert('没有有关记录!')</script>");con.Close();}}protected void Button2_Click(object sender, EventArgs e){Response.Redirect("~/Default.aspx");}}}using System;using System.Collections;using System.Configuration;using System.Data;using System.Linq;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.HtmlControls;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Xml.Linq;using System.Data.SqlClient;namespace WebApplication1{public partial class人员信息 : System.Web.UI.Page{protected void Page_Load(object sender, EventArgs e){}protected void Button1_Click(object sender, EventArgs e){Response.Redirect("~/Default.aspx");}protected void Button2_Click(object sender, EventArgs e){bool find =false;SqlConnection con = new SqlConnection("server=localhost;Integrated Security=SSPI;database=人事管理系统");con.Open();string cmdstr="select * from 工资表";SqlDataAdapter da=new SqlDataAdapter(cmdstr,con);DataSet ds=new DataSet();da.Fill(ds);for(int i=0;i<ds.Tables[0].Rows.Count;i++){for(int j=0;j<ds.Tables[0].Columns.Count;j++){String data=(ds.Tables[0].Rows[i][j].ToString()).Trim();if(data==TextBox1.Text.Trim()){TextBox2.Text=ds.Tables[0] .Rows[i]["应发工资"].ToString();TextBox3.Text=ds.Tables[0] .Rows[i]["岗位津贴"].ToString();TextBox4.Text=ds.Tables[0] .Rows[i]["奖励"].ToString();TextBox5.Text = ds.Tables[0].Rows[i]["保险"].ToString();find=true;}}}if (find == false){Response.Write("<script>window.alert('没有有关记录!')</script>"); con.Close();}}}}using System;using System.Collections;using System.Configuration;using System.Data;using System.Linq;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.HtmlControls;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Xml.Linq;using System.Data.SqlClient;namespace WebApplication1{public partial class人员修改 : System.Web.UI.Page{protected void Page_Load(object sender, EventArgs e){}protected void TextBox5_TextChanged(object sender, EventArgs e){}protected void Button2_Click(object sender, EventArgs e){SqlConnection con=new SqlConnection("server=localhost;IntegratedSecurity=SSPI;database=人事管理系统");con.Open();string insert="insert into 人事表(员工号,姓名,性别,职称,学历) values("+""+ TextBox1.Text.Trim() +""+","+"" + TextBox2.Text.Trim() +""+","+ TextBox3.Text.Trim() + "," +""+ TextBox4.Text.Trim() +""+","+"" +TextBox5.Text.Trim() + ""+")";Response.Write(insert);SqlCommand cmd1=new SqlCommand(insert,con);con.Close();}protected void Button1_Click(object sender, EventArgs e){Response.Redirect("~/Default.aspx");}protected void GridView1_SelectedIndexChanged(object sender, EventArgs e) {}}}。
<!--#include file=DataBase/conn.asp--><%If request("action")="login" thenadmin_name=request("admin_name")'获取用户名admin_pass=request("admin_pass")'获取密码username=trim(request("admin_name"))password=trim(request("admin_pass"))for i=1 to len(username)user=mid(username,i,1)if user="'" or user="%" or user="<" or user=">" or user="&" or user="|" thenresponse.write "<script language=JavaScript>" & "alert('您的用户名含有非法字符,请重新输入!');" & "history.back()" & "</script>"response.endend ifnextfor i=1 to len(password)pass=mid(password,i,1)if pass="'" or pass="%" or pass="<" or pass=">" or upass="&" or pass="|" then response.write "<script language=JavaScript>" & "alert('您的密码含有非法字符,请重新输入!');" & "history.back()" & "</script>"response.endend ifnextset rs=server.CreateObject("adodb.recordset")sql="select * from tb_User where username='"&admin_name&"'and userpwd='"&admin_pass&"' "rs.open sql,conn,1,1if rs.eof then response.write "<br><br><br><br><font size=2><center>对不起,您输入的用户名或密码,请重新输入,谢谢!<a href=login.asp>返回</a></font>"else session("admin_name")=request("admin_name") response.Redirect("index.asp")'跳转到管理首页end ifrs.closeset rs=nothingconn.closeset conn=nothingend if%>6 首页设计网站首页主要由两部部分组成,一部分是管理导航区,另一部分是展示区。
基于ASP的单位人事管理系统的实现摘要:某大学因人员的逐渐壮大,随之带来的人员管理上的极大不便,该大学人事处提出利用数据库来管理单位人员的想法。
鉴于客户提出最好是可以在任何的地方都可以通过互联网进入该系统办公,所以本人最后决定用ASP技术来完成该系统,将它作成一款网络版的软件。
关键词:动态服务器网业、Active X数据对象、数据库、Javascript与Css技术当前Internet的流行以及高速宽带的普遍推广为制作网络版的系统软件提供了高速平台。
网络版的系统软件就意味着管理员可以在世界上任何一个角落,通过身份验证,进入系统进行工作。
为实现这一功能,主要采用了ASP(Active Server Pages)技术,利用Vbscript 脚本语言来编写ASP程序,将其嵌入在HTML代码中,用ASP与ADO结合对ACCESS数据库进行访问。
1ASP基础ASP是由Microsoft开发的、运行在IIS下的服务器段的脚本执行环境,着重于处理动态网页和Web数据库的开发,编程灵活、简洁,又有较高的性能。
用户可以用它来产生和执行动态的、交互的、高性能的Web 服务器应用程序,因而它是Web 开发的最新利器。
用户在浏览网页时,可以根据自己的需求在网页中进行输入操作,网站根据输入产生相对应的操作来回应用户,并将运行结果返回给用户浏览器。
ASP 提供了以下6 个内建对象:⑴Request 对象:取得用户信息,用于读取从浏览器中通过HTTP 请求而转入脚本的信息,其中包括窗体、表单、URL 查询等;⑵Response 对象:传递信息给用户,用于处理从Web服务器输出的客户端数据的对象;⑶Server 对象:提供访问数据库的属性和方法,通过此对象的应用,可取得Web 服务器的数据与执行状态;⑷Application 对象:用于存储一个特定应用程序所需的信息;⑸Session 对象:用于存储一个特定用户任务所需的信息;⑹Object Context 对象:此对象可提供程序设计师利用Microsoft Transation Server 来处理事物。
大学毕业设计论文ERP-人力资源管理系统专业名称:信息管理与信息系统班级:学生姓名:指导教师:完成时间:摘要随着科学技术的不断发展,计算机控制技术在社会各个方面都得到了越来越广泛的应用。
本着锻炼我们的动手能力,提高综合能力,开阔思维能力的原则,在毕业设计中,我以招聘模拟系统为主题,以ASP语言为程序设计语言,进行了试验性设计。
该方案是应工商管理学院人力资源教研室刘立欣老师教学的需要拟定的,主要完成工商管理学院机房上机进行模拟招聘的功能。
该系统主要由三个子系统组成:招聘模拟个人端、招聘模拟企业端和教师端。
个人端有学生简历注册、发布求职信息、以及浏览企业招聘信息并发送求职意向。
模拟企业端有企业信息注册、招聘信息发布、浏览个人简历并发送招聘意向以及对个人用户的求职意向做出回应。
教师端主要就是对网站的管理包括对个人和企业注册用户的管理、课堂新闻的发布、师生论坛的管理。
系统为学生掌握招聘流程提供了动手实践的功能,为各种用户的网上服务提供了可靠的保障。
具有快速和大容量的信息交换能力,使各类用户能获得最新、完整和稳定可靠的信息,最大限度的满足各类用户的要求;同时,系统具有较强的数据容错能力和良好的人机交互界面。
关键词:招聘模拟系统,服务器,数据库,域,ASPAbstractAlong with science's and technology's unceasing development, the computer control technology obtained more and more widespread application in social each aspect. In line with exercises our beginning ability, sharpens our synthesizing capacity, widens our power of thought principle, in the graduation project, I take advertises for the analogous system as the subject, take the ASP language as the programming language, has carried on the experimental designThis project is studied out according to the requirement of Business management institute human resources faculty working office Mrs. Liu Li Xin joyful teaching requestment.This system mainly of three sub-system compositions: The employment advertise simulation carries, the employment advertise simulation enterprise to carry personally with the teacher end. Individual origin student resume registration, the issue seek employment the information, as well as the browsing enterprise employment advertise information and transmit seek employment the intention. The simulation enterprise origin enterprise information registration, the employment advertise information issued that glances over the resume and transmits the employment advertise intention as well as seeks employment the intention to individual user to respond. The teacher carries is mainly including and the enterprise registers the user to the website management to individual the management, the classroom news issue, the teachers and students forum to manage.Installing this system, teaching department may work efficiently. They can manage the operation easily, and the network users can query information freely and be serviced credibly. At the same time it has rush speed and large capacity in communication exchanging, which make users obtain the most fresh、full、stable and reliable information. In one word it may satisfied the users to the best of its abilities. Moreover, it can correct data error exactly and provide a good interface of users and computer.Keywords: Employment advertise analogous system, server, database, territory, ASP目录绪论 (1)1技术介绍 (2)1.1招聘模拟系统的设计分析 (2)1.2软件环境的选择 (2)1.2.1 编程环境的选择 (2)1.2.2 B/S关系型数据库的实现 (2)1.2.3 ASP与数据库的结合 (3)1.3开发工具介绍 (3)1.3.1 ASP的含义 (3)1.3.2 ASP的特点 (3)1.3.3 ASP的功能 (4)1.3.4 ADO访库的实现方法 (4)1.4B/S模式介绍 (5)1.4.1 信息系统的开发模式 (5)1.4.2 C/S模式 (5)1.4.3 B/S模式 (5)2 需求分析 (7)2.1系统的可行性研究 (7)2.1.1 技术上的可行性 (7)2.1.2 管理上的可行性 (7)2.1.3 经济上的可行性 (7)2.2需求分析 (7)2.2.1 功能需求 (7)2.2.2 性能需求 (8)3 系统总体规划设计 (9)3.1系统功能 (9)3.1.1 模拟个人端 (10)3.1.2 模拟企业端 (10)3.1.3 教师管理端 (11)3.2流程图 (11)4 数据库的设计 (13)4.1数据库概念结构设计 (13)4.2数据库逻辑结构设计 (15)5 系统详细设计与实现 (19)5.1模拟个人端 (19)5.1.1 注册个人信息 (19)5.1.2 个人信箱 (20)5.2招聘系统模拟企业端 (22)5.2.1 发布招聘信息 (22)5.3教师管理端 (24)5.3.1 课堂新闻的发布 (25)5.3.2 师生论坛管理 (27)6 系统测试 (29)6.1系统测试过程 (29)6.1.1单元测试 (29)6.1.2集成测试 (30)6.2测试结果分析 (30)总结 (31)致谢 (32)参考文献 (33)ERP-人力资源管理系统绪论在科技日益发展的今天,科技的成果已经越来越多用于人们日常的工作生活当中。
附录:源程序代码1).default.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default2" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="/1999/xhtml"><head id="Head1" runat="server"><title>无标题页</title><style type="text/css">#form1{height: 213px;}.style2{width: 100%;height: 211px;}.style6{width: 99px;}.style3{text-align: center;}</style></head><body bgcolor="#ccffcc"><form id="form1" runat="server"><table class="style2"><tr><td class="style4" colspan="2"><span class="Apple-style-span"style="color: rgb(0, 0, 0); font-family: 楷体_GB2312; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: center; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust:auto; -webkit-text-stroke-width: 0px; ">人事信息管理系统</span></td><td rowspan="5"><img alt="" src="images/4ce6a7a5e39e3e49156444f3e340dc21.jpg"style="width: 853px; height: 193px" /> </td></tr><tr><td class="style6">用户名:</td><td class="style3"><asp:TextBox ID="TextBox1" runat="server" Height="22px" Width="128px"></asp:TextBox></td></tr><tr><td class="style6">用户密码:</td><td class="style3"><asp:TextBox ID="TextBox2" runat="server" Height="22px" TextMode="Password"Width="128px"></asp:TextBox></td></tr><tr><td class="style5" colspan="2"><asp:CheckBox ID="CheckBox1" runat="server" Text="记住用户" /> </td></tr><tr><td class="style3" colspan="2"><asp:Button ID="Button1" runat="server" Height="31px" onclick="Button1_Click"style="text-align: center" Text="登录" Width="50px" /></td></tr></table></form></body></html>2)Default.aspx.csusing System;using System.Collections;using System.Configuration;using System.Data;using System.Linq;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.HtmlControls;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Xml.Linq;using System.Data.OleDb;public partial class Default2 : System.Web.UI.Page{protected void Page_Load(object sender, EventArgs e){this.Title = "学生信息管理系统-----登录";}protected void Button1_Click(object sender, EventArgs e){OleDbConnection conn = new OleDbConnection();string Id = TextBox1.Text;conn.ConnectionString = "provider=Microsoft.Jet.OleDb.4.0;" + "Data Source=" + Server.MapPath("App_Data/student.mdb");string StrSel = "Select * from message where id='" + TextBox1.Text + "'and pwd='" + TextBox2.Text + "'";conn.Open();OleDbCommand com = new OleDbCommand(StrSel, conn);OleDbDataReader dr = com.ExecuteReader();dr.Read();if (dr.HasRows){Session["pass"] = TextBox1.Text;Server.Transfer("glxt.aspx");Response.Redirect("glxt.aspx");}else{Response.Redirect("Default.aspx");}conn.Close();}}3)Glxt.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeFile="glxt.aspx.cs" Inherits="glxt" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="/1999/xhtml"><head id="Head1" runat="server"><title>无标题页</title><style type="text/css">body {margin-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;background-color:#CCFFCC;}.STYLE1 {font-size: 12px;color: #FFFFFF;}.STYLE3 {font-size: 12px;color: #033d61;text-decoration:none;background-image:login_2.jpg;}#left{float:left;width:177px;}.STYLE4{float:left;clear:right;width:804px;background-image:content_1.jpg;height: 1032px;}.style2{width: 788px;height: 23px;}.style3{width: 817px;}.style4{height: 26px;}.style5{height: 91px;}p.p0{margin:0pt;margin-bottom:0.0001pt;margin-bottom:0pt;margin-top:0pt;text-align:justify;font-size:10.5000pt; font-family:'Times New Roman'; }.style6{width: 285px;height: 43px;}.style7{width: 100px;height: 43px;}.style9{width: 6px;}#form1{height: 307px;width: 1321px;}.style10{height: 43px;}</style></head><body bgcolor="White" ><form id="form1" runat="server"><div><table border="0" cellpadding="0" cellspacing="0"style="height: 303px; width: 130px"><tr><td height="70"><table bgcolor="#CCFFCC" border="0" cellpadding="0" cellspacing="0"width="100%"><tr><td bgcolor="White" class="style5"><table border="0" cellpadding="0" cellspacing="0"style="height: 265px; width: 1141px;"><tr><td bgcolor="White" style="width: 291px" width="270"><img alt="" src="images/6b5f60fc09e584574192f873acda8d85.jpg"style="width: 1392px; height: 252px; margin-top: 0px;" /><span class="STYLE3"><tableborder="0" cellpadding="0" cellspacing="0"style="height: 47px; width: 1389px;"><trbgcolor="#CCFFCC"><td class="style6" bgcolor="#CCFFCC"><spanclass="STYLE3"> <asp:Label ID="Label2" runat="server"></asp:Label><br /> <asp:Label ID="Label1" runat="server"></asp:Label></span></td><td class="style7" bgcolor="#CCFFCC"><spanclass="STYLE3"><asp:LinkButton ID="LinkButton6" runat="server" onclick="LinkButton6_Click"Font-Size="Large" Height="26px" Width="93px"><spanclass="style3">公司简介</span></spanclass="style3"></asp:LinkButton></span></td><tdclass="style10"><asp:LinkButton ID="LinkButton7" runat="server" onclick="LinkButton7_Click"Font-Size="Large" Height="26px" Width="72px"><spanclass="style3">信息查询</span></spanclass="style3"></asp:LinkButton><asp:LinkButton ID="LinkButton18" runat="server" onclick="LinkButton18_Click"Font-Size="Large" Height="26px" Width="80px"><spanclass="style3">信息修改</spanclass="style3"></asp:LinkButton><asp:LinkButton ID="LinkButton20" runat="server" Font-Size="Large"Height="26px" PostBackUrl="add.aspx" Width="80px" onclick="LinkButton20_Click">添加信息</asp:LinkButton><asp:LinkButton ID="LinkButton17" runat="server" onclick="LinkButton17_Click"Font-Size="Medium" Height="26px" Width="100px" style="margin-left: 108px">密码修改</asp:LinkButton> <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Default.aspx"Font-Size="Medium" Height="26px" Width="91px">退出</asp:HyperLink></td></tr></table></span></td></tr></table></td></tr><tr><td height="8" style="line-height: 8px;"> </td></tr></table></td></tr></table></div><div id="left"><table border="0" cellpadding="0" cellspacing="0" height="100%" width="165"> <tr><td height="28"><table border="0" cellpadding="0" cellspacing="0" width="100%"bgcolor="#CCFFCC"><tr><td width="19%"><spanclass="STYLE3"> <br /><br /></span></td></tr></table></td></tr><tr><td valign="top"><table align="center" bgcolor="White" border="0" cellpadding="0"cellspacing="0" width="151"><tr><td><table border="0" cellpadding="0" cellspacing="0"style="width: 118%; height: 379px"><tr><td height="23" bgcolor="#CCFFCC"><table border="0" cellpadding="0" cellspacing="0" width="100%"bgcolor="#CCFFCC"><tr><td class="style9"> </td><td class="STYLE3" width="82%"><tablealign="center" border="0" cellpadding="0" cellspacing="0"width="90%"style="height: 217px" bgcolor="#CCFFCC"><tr><td height="25"><div align="center"></div></td><td height="23" width="84%"><table border="0" cellpadding="0" cellspacing="0" style="width: 95%"><tr><td height="20"> </td></tr></table></td></tr><tr><td height="23"><div align="center"></div></td><td height="23"><table border="0" cellpadding="0" cellspacing="0"style="height: 40px; width: 122%"><tr><td height="20"> </td></tr></table></td></tr><tr><td height="23"><div align="center"></div></td><td height="23"><table border="0" cellpadding="0" cellspacing="0" width="95%"><tr><td height="20"> </td></tr></table></td></tr><tr><td height="23"><div align="center"></div></td><td height="23"><table border="0" cellpadding="0" cellspacing="0" width="95%"><tr><td height="20"></span></td></tr></table></td></tr></table><br /><br /><br /><br /><br /><br /><br /><br /></td></tr></table></td></tr><tr><td id="submenu1" bgcolor="#CCFFCC"><div class="sec_menu"></div></td></tr></table></td></tr><tr><td><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td height="23" bgcolor="#CCFFCC"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td width="18%"> </td><td class="STYLE1" width="82%"><div align="center" style="width: 149px"></div></td></tr></table></td></tr><tr><td id="submenu2" bgcolor="#CCFFCC"><div></div></td></tr></table></td></tr><tr><td><table border="0" cellpadding="0" cellspacing="0" style="width: 118%"><tr><td height="23" bgcolor="#CCFFCC"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td width="18%"> </td><td class="STYLE1" width="82%"> </td></tr></table></td></tr><tr><td bgcolor="#CCFFCC"><div><asp:Panel ID="Panel3" runat="server"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td><tablealign="center" border="0" cellpadding="0" cellspacing="0" width="90%"><tr><td height="25" style="width: 100%" width="16%"><div align="center"></div><table border="0" cellpadding="0" cellspacing="0" width="95%"><tr><td height="20"> </td></tr></table></td></tr></table></td></tr></table></asp:Panel></div></td></tr><tr><td class="style4" bgcolor="#CCFFCC"></td></tr><tr><td bgcolor="#CCFFCC"><div><table border="0" cellpadding="0" cellspacing="0" style="width: 100%"><tr><asp:Panel ID="Panel4" runat="server"><td><tablealign="center" border="0" cellpadding="0" cellspacing="0" width="90%"><tr><td height="25" width="16%"><div align="center"></div></td><td height="23" width="84%"><table border="0" cellpadding="0" cellspacing="0" width="95%"><tr><td height="20"><asp:LinkButton ID="LinkButton15" runat="server"><span class="STYLE3"></span></asp:LinkButton></td></tr></table></td></tr><tr><td height="23"><div align="center"></div></td><td height="23"><table border="0" cellpadding="0" cellspacing="0" width="95%"><tr><td height="20"><asp:LinkButton ID="LinkButton16" runat="server"><span class="STYLE3">登录记录</span></asp:LinkButton></td></tr></table></td></tr></table></td></asp:Panel></tr><tr><td height="5"> </td></tr></table></div></td></tr></table></td></tr></table></td></tr></table></div><div class="STYLE4"><asp:Panel ID="Panel5" runat="server" BackColor="#CCFFCC"><table bgcolor="Gray"><tr><td bgcolor="White" class="style3"><table><tr><td bgcolor="White" class="style2"><span style="mso-spacerun:'yes'; font-size:10.5000pt; font-family:'Times New Roman'; "> xx<font face="宋体">商贸有限公司是国家外经贸局,海关总署批注的有进出口权的公司,公司有雄厚的经济基础,强大的关系网络,完备的技术和人员配置,随着我国加入</font><fontface="Times New Roman">WTO</font><font face="宋体">,进出口贸易的日益增长,为了进一步满足贸易商、进出口商的需求,我公司为商家精心打造了门到门的一站式服务。