【asp源码栏目提醒】:网学会员为需要asp源码的朋友们搜集整理了asp_课程设计源代码-人事管理系统 - 其它论文相关资料,希望对各位网友有所帮助!
附录:源程序代码1.default.aspxlt Page LanguagequotCquot AutoEventWireupquottruequot CodeFilequotDefault.aspx.csquotInheritsquotDefault2quot gtltDOCTYPE html PUBLIC quot-//W3C//DTD XHTML 1.0 Transitional//ENquotquothttp://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtdquotgtlthtml xmlnsquothttp://www.w3.org/1999/xhtmlquotgtlthead idquotHead1quot runatquotserverquotgt lttitlegt无标题页lt/titlegt ltstyle typequottext/cssquotgt form1 height: 213px .style2 width: 100 height: 211px .style6 width: 99px .style3 text-align: center lt/stylegtlt/headgtltbody bgcolorquotccffccquotgt ltform idquotform1quot runatquotserverquotgt lttable classquotstyle2quotgt lttrgt lttd classquotstyle4quot colspanquot2quotgt ltspan classquotApple-style-spanquot stylequotcolor: rgb0 0 0 font-family: 楷体_GB2312 font-size: 16pxfont-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: normalwidows: 2 word-spacing: 0px -webkit-text-decorations-in-effect: none -webkit-text-size-adjust:auto -webkit-text-stroke-width: 0px quotgt 人事信息管理系统lt/spangtlt/tdgt lttd rowspanquot5quotgt ltimg altquotquot srcquotimages/4ce6a7a5e39e3e49156444f3e340dc21.jpgquot stylequotwidth: 853px height: 193pxquot /gtampnbsplt/tdgt lt/trgt lttrgt lttd classquotstyle6quotgt 用户名:lt/tdgt lttd classquotstyle3quotgt ltasp:TextBox IDquotTextBox1quot runatquotserverquot Heightquot22pxquotWidthquot128pxquotgtlt/asp:TextBoxgt lt/tdgt lt/trgt lttrgt lttd classquotstyle6quotgt 用户密码:lt/tdgt lttd classquotstyle3quotgt ltasp:TextBox IDquotTextBox2quot runatquotserverquot Heightquot22pxquotTextModequotPasswordquot Widthquot128pxquotgtlt/asp:TextBoxgt lt/tdgt lt/trgt lttrgt lttd classquotstyle5quot colspanquot2quotgt ltasp:CheckBox IDquotCheckBox1quot runatquotserverquot Textquot记住用户quot /gt lt/tdgt lt/trgt lttrgt lttd classquotstyle3quot colspanquot2quotgt ltasp:Button IDquotButton1quot runatquotserverquot Heightquot31pxquotonclickquotButton1_Clickquot stylequottext-align: centerquot Textquot登录quot Widthquot50pxquot /gt lt/tdgt lt/trgt lt/tablegt lt/formgtlt/bodygtlt/htmlgt2)Default.aspx.csusing Systemusing System.Collectionsusing System.Configurationusing System.Datausing System.Linqusing System.Webusing System.Web.Securityusing System.Web.UIusing System.Web.UI.HtmlControlsusing System.Web.UI.WebControlsusing System.Web.UI.WebControls.WebPartsusing System.Xml.Linqusing System.Data.OleDbpublic partial class Default2 : System.Web.UI.Page protected void Page_Loadobject sender EventArgs e this.Title quot学生信息管理系统-----登录quot protected void Button1_Clickobject sender EventArgs e OleDbConnection conn new OleDbConnection string Id TextBox1.Text conn.ConnectionString quotproviderMicrosoft.Jet.OleDb.4.0quot quotData Sourcequot Server.MapPathquotApp_Data/student.mdbquot string StrSel quotSelect from message where idquot TextBox1.Text quotand pwdquot TextBox2.Text quotquot conn.Open OleDbCommand com new OleDbCommandStrSel conn OleDbDataReader dr com.ExecuteReader dr.Read if dr.HasRows Sessionquotpassquot TextBox1.Text Server.Transferquotglxt.aspxquot Response.Redirectquotglxt.aspxquot else Response.RedirectquotDefault.aspxquot conn.Close 3)Glxt.aspxlt Page LanguagequotCquot AutoEventWireupquottruequot CodeFilequotglxt.aspx.csquotInheritsquotglxtquot gtltDOCTYPE html PUBLIC quot-//W3C//DTD XHTML 1.0 Transitional//ENquotquothttp://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtdquotgtlthtml xmlnsquothttp://www.w3.org/1999/xhtmlquotgtlthead idquotHead1quot runatquotserverquotgt lttitlegt无标题页lt/titlegt ltstyle typequottext/cssquotgtbody 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.jpgleft 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.p0margin:0ptmargin-bottom:0.0001ptmargin-bottom:0ptmargin-top:0pttext-align:justifyfont-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 lt/stylegtlt/headgtltbody bgcolorquotWhitequot gt ltform idquotform1quot runatquotserverquotgt ltdivgt lttable borderquot0quot cellpaddingquot0quot cellspacingquot0quot stylequotheight: 303px width: 130pxquotgt lttrgt lttd heightquot70quotgt lttable bgcolorquotCCFFCCquot borderquot0quot cellpaddingquot0quotcellspacingquot0quot widthquot100quotgt lttrgt lttd bgcolorquotWhitequot classquotstyle5quotgt lttable borderquot0quot cellpaddingquot0quot cellspacingquot0quot stylequotheight: 265px width: 1141pxquotgt lttrgt lttd bgcolorquotWhitequot stylequotwidth: 291pxquotwidthquot270quotgt ltimg altquotquotsrcquotimages/6b5f60fc09e584574192f873acda8d85.jpgquot stylequotwidth: 1392px height: 252pxmargin-top: 0pxquot /gtltspan classquotSTYLE3quotgtlttable borderquot0quot cellpaddingquot0quotcellspacingquot0quot stylequotheight: 47px width: 1389pxquotgt lttrbgcolorquotCCFFCCquotgt lttd classquotstyle6quotbgcolorquotCCFFCCquotgt ltspanclassquotSTYLE3quotgtampnbspampnbspampnbspampnbspampnbspampnbspampnbsp ltasp:Label IDquotLabel2quotrunatquotserverquotgtlt/asp:Labelgt ltbr /gtampnbspampnbspampnbspampnbspampnbspampnbspampnbsp ltasp:Label IDquotLabel1quot runatquotserverquotgtlt/asp:Labelgt lt/spangt lt/tdgt lttd classquotstyle7quotbgcolorquotCCFFCCquotgt ltspanclassquotSTYLE3quotgt ltasp:LinkButton IDquotLinkButton6quot runatquotserverquot onclickquotLinkButton6_Clickquot Font-SizequotLargequot Heightquot26pxquot Widthquot93pxquotgtltspanclassquotstyle3quotgt公司简介lt/spangtlt/spanclassquotstyle3quotgtlt/asp:LinkButtongt lt/spangt lt/tdgt lttdclassquotstyle10quotgt ltasp:LinkButton IDquotLinkButton7quot runatquotserverquot onclickquotLinkButton7_Clickquot Font-SizequotLargequot Heightquot26pxquot Widthquot72pxquotgtltspanclassquotstyle3quotgt信息查询lt/spangtlt/spanclassquotstyle3quotgtlt/asp:LinkButtongt ltasp:LinkButton IDquotLinkButton18quot runatquotserverquot onclickquotLinkButton18_Clickquot Font-SizequotLargequot Heightquot26pxquot Widthquot80pxquotgtltspanclassquotstyle3quotgt信息修改lt/spanclassquotstyle3quotgtlt/asp:LinkButtongtltasp:LinkButton IDquotLinkButton20quot runatquotserverquot Font-SizequotLargequotHeightquot26pxquot PostBackUrlquotadd.aspxquot Widthquot80pxquot onclickquotLinkButton20_Clickquotgt添加信息lt/asp:LinkButtongtltasp:LinkButton IDquotLinkButton17quot runatquotserverquot onclickquotLinkButton17_ClickquotFont-SizequotMediumquot Heightquot26pxquot Widthquot100pxquot stylequotmargin-left: 108pxquotgt 密 码 修 改lt/asp:LinkButtongtampnbspampnbspampnbspampnbspltasp:HyperLink IDquotHyperLink1quot runatquotserverquotNavigateUrlquot/Default.aspxquotFont-SizequotMediumquot Heightquot26pxquot Widthquot91pxquotgt退出lt/asp:HyperLinkgt lt/tdgt lt/trgt lt/tablegt lt/spangtlt/tdgt lt/trgt lt/tablegt lt/tdgt lt/trgt lttrgt lttd heightquot8quot stylequotline-height: 8pxquotgt ampnbsplt/tdgt lt/trgt lt/tablegt lt/tdgt lt/trgt lt/tablegt lt/divgt ltdiv idquotleftquotgt lttable borderquot0quot cellpaddingquot0quot cellspacingquot0quot heightquot100quot widthquot165quotgt lttrgt lttd heightquot28quotgt lttable borderquot0quot cellpaddingquot0quot cellspacingquot0quot widthquot100quot bgcolorquotCCFFCCquotgt lttrgt lttd widthquot19quotgt ltspanclassquotSTYLE3quotgt ampnbspampnbspampnbspampnbspampnbspltbr /gt ltbr /gt lt/spangt lt/tdgt lt/trgt lt/tablegt lt/tdgt lt/trgt lttrgt lttd valignquottopquotgt lttable alignquotcenterquot bgcolorquotWhitequot borderquot0quot cellpaddingquot0quot cellspacingquot0quot widthquot151quotgt lttrgt lttdgt lttable borderquot0quot cellpaddingquot0quot cellspacingquot0quot stylequotwidth: 118 height: 379pxquotgt lttrgt lttd heightquot23quot bgcolorquotCCFFCCquotgt lttable borderquot0quot cellpaddingquot0quotcellspacingquot0quot widthquot100quot bgcolorquotCCFFCCquotgt lttrgt lttd classquotstyle9quotgt ampnbsplt/tdgt lttd classquotSTYLE3quotwidthquot82quotgt lttablealignquotcenterquot borderquot0quot cellpaddingquot0quot cellspacingquot0quot widthquot90quotstylequotheight: 217pxquot bgcolorquotCCFFCCquotgt lttrgt lttdheightquot25quotgtltdiv alignquotcenterquotgtlt/divgt lt/tdgt lttdheightquot23quot widthquot84quotgtlttable borderquot0quot cellpaddingquot0quot cellspacingquot0quot stylequotwidth: 95quotgtlttrgt lttd heightquot20quotgt ampnbsplt/tdgtlt/trgtlt/tablegt lt/tdgt lt/trgt lttrgt lttdheightquot23quotgtltdiv alignquotcenterquotgtlt/divgt lt/tdgt lttdheightquot23quotgtlttable borderquot0quot cellpaddingquot0quot cellspacingquot0quotstylequotheight: 40px width: 122quotgtlttrgt lttd heightquot20quotgt ampnbsplt/tdgtlt/trgtlt/tablegt lt/tdgt lt/trgt lttrgt lttdheightquot23quotgtltdiv alignquotcenterquotgtlt/divgt lt/tdgt lttdheightquot23quotgtlttable borderquot0quot cellpaddingquot0quot cellspacingquot0quot widthquot95quotgtlttrgt lttd heightquot20quotgt ampnbsplt/tdgtlt/trgtlt/tablegt lt/tdgt lt/trgt lttrgt lttdheightquot23quotgtltdiv alignquotcenterquotgtlt/divgt lt/tdgt lttdheightquot23quotgtlttable borderquot0quot cellpaddingquot0quot cellspacingquot0quot widthquot95quotgtlttrgt lttd heightquot20quotgt lt/spangt lt/tdgtlt/trgtlt/tablegt lt/tdgt lt/trgt lt/tablegt ltbr /gt ltbr /gt ltbr /gt ltbr /gt ltbr /gt .