oaPro/qs/bangongtongxuluxiugai.aspx.cs
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using COM.OA.Entity;
using COM.OA.BLL;
using System.Collections.Generic;
public partial class qs_Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
//取查询页面的姓名
string uname = this.Request.QueryString["u_username"];
string where = "u_username='{0}'";
//根据姓名查部门ID
where = string.Format(where, uname);
IList<users> list = usersBLL.Select(where);
users u = list[0];
int bumenId = u.u_dept_id;
//根据部门ID查部门名
string where1 = "dept_id='{0}'";
where1 = string.Format(where1, bumenId);
IList<department> lists = departmentBLL.Select(where1);
department dt = lists[0];
string bumen = dt.dept_department;
int uid = u.u_id;
string where2 = "al_u_id='{0}'";
where2 = string.Format(where2, uid);
IList<addresslist> listad = addresslistBLL.Select(where2);
addresslist dl = listad[0];
this.txtUname.Text = uname;
this.txtBumen.Text = bumen;
this.txtZhiWu.Text = dl.al_duty;
this.txtShouji.Text = dl.al_mobile;
this.txtXiaolingtong.Text = dl.al_smallclever;
this.txtBangong.Text = dl.al_worktelephone;
this.txtFenji.Text = dl.al_extension;
this.txtChuanZhen.Text = dl.al_fax;
this.txtEmail.Text = dl.al_email;
this.txtBeiZhu.Text = dl.al_remark;
this.txtAdd.Text = dl.al_address;
this.txtMsn.Text = dl.al_msn;
this.txtQQ.Text = dl.al_qq;
}
protected void btChongZhi_Click(object sender, EventArgs e)
{
后面还有 80 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
