CyManager/UEmployeesUp.cs
(开头部分) 7KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
using System.IO;//引用IO命名空间
using Common;
using BLL;
namespace CyManager
{
public partial class UEmployeesUp : Form
{
string f;//单个字符的拼音全称
string s;//存储拼音缩写
int eId;
string etName;
CEmployees ee = new CEmployees();
/// <summary>
/// 刷新员工信息的事件
/// </summary>
public event Del EveEmployeesQuery;
public UEmployeesUp()
{
InitializeComponent();
}
public UEmployeesUp(int id, string N)
{
InitializeComponent();
eId = id;
etName = N;
}
private void UEmployeesUp_Load(object sender, EventArgs e)
{
DataSet ds = null;
try
{
ds = BLLEmployees.BLLEmployeesIdQ (eId); ;
}
catch (Exception)
{
MessageBoxNew.Show("根据会员编号查询会员失败!", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
foreach (DataRow row in ds.Tables[0].Rows)
{
this.txtId.Text = row["eId"].ToString();
this.txtName.Text = row["eName"].ToString();
this.txtSpell.Text = row["eSpell"].ToString();
this.cboSex.Text = row["eSex"].ToString();
this.txtLinkphone.Text = row["eLinkphone"].ToString();
this.txtIDCard.Text = row["eIDCard"].ToString();
this.dtpWorkDate.Value = Convert.ToDateTime(row["eWorkDate"]);
byte[] ary = row["eImage"] as byte[];
string tmp = Encoding.Default.GetString(ary);
if (tmp != "\0")
{
后面还有 139 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。