asp 课程设计源代码-人事管理系统.doc_第1页
asp 课程设计源代码-人事管理系统.doc_第2页
asp 课程设计源代码-人事管理系统.doc_第3页
asp 课程设计源代码-人事管理系统.doc_第4页
asp 课程设计源代码-人事管理系统.doc_第5页
已阅读5页,还剩26页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

附录:源程序代码1).default.aspx 无标题页 #form1 height: 213px; .style2 width: 100%; height: 211px; .style6 width: 99px; .style3 text-align: center; 人事信息管理系统   用户名: 用户密码: 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) Sessionpass = TextBox1.Text; Server.Transfer(glxt.aspx); Response.Redirect(glxt.aspx); else Response.Redirect(Default.aspx); conn.Close(); 3)Glxt.aspx 无标题页 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.p0margin: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;                 公司简介 信息查

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论