Web/Staff_Division/Staff_MyselfInfor.aspx.cs
(开头部分) 6KB这里只显示每个文件的开头 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 System.Text;
using Maticsoft.Common;
using LTP.Accounts.Bus;
namespace CRM_FXH.Web.Staff_Division
{
public partial class Staff_MyselfInfor : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
int StaffID = (Convert.ToInt32(Session["id"].ToString()));
ShowInfo(StaffID);
}
}
private void ShowInfo(int StaffID)
{
CRM_FXH.BLL.C_Staff bll = new CRM_FXH.BLL.C_Staff();
CRM_FXH.Model.C_Staff model = bll.GetModel(StaffID);
this.lblStaffID.Text = model.StaffID.ToString();
this.txtStaffName.Text = model.StaffName;
this.txtStaffAccoName.Text = model.StaffAccoName;
this.txtStaffPassword.Text = model.StaffPassword;
this.DropDownList1.SelectedValue = model.DepartmentID.ToString();
this.DropDownList2.SelectedValue = model.DutyID.ToString();
this.Image1.ImageUrl = model.StaffPhoURL;
this.Label1.Text = model.StaffPhoURL;
this.txtStaffPhone.Text = model.StaffPhone;
this.txtStaffEmail.Text = model.StaffEmail;
this.txtStaffRemarks.Text = model.StaffRemarks;
}
public void btnSave_Click(object sender, EventArgs e)
{
string strErr = "";
if (this.txtStaffName.Text.Trim().Length == 0)
{
strErr += "员工姓名不能为空!\\n";
}
if (this.txtStaffAccoName.Text.Trim().Length == 0)
{
strErr += "登录账号不能为空!\\n";
}
if (txtStaffPassword.Text.ToString()!=TextBox1.Text.ToString())
{
后面还有 106 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
