資源簡介
人事系統分為:“人員信息”“獎罰管理”、“調動管理”、“考評管理”等模塊

代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Text;
using?System.Windows.Forms;
using?PMS.PMSClass;
namespace?PMS
{
????public?partial?class?frmAddDep?:?Form
????{
????????public?frmAddDep()
????????{
????????????InitializeComponent();
????????}
????????DBOperate?operate?=?new?DBOperate();//創建數據操作對象
????????private?void?button2_Click(object?sender?EventArgs?e)
????????{
????????????this.Close();//關閉窗體
????????}
????????private?void?button1_Click(object?sender?EventArgs?e)
????????{
????????????if?(txtDepName.Text.Trim()?==?““)
????????????{
????????????????MessageBox.Show(“請輸入部門名稱“?“提示“//彈出消息對話框
????????????????????MessageBoxButtons.OK?MessageBoxIcon.Information);
????????????????return;//退出事件
????????????}
????????????else
????????????{
????????????????string?str=//創建SQL字符串
????????????????????“select?count(*)?from?tb_department?where?DepName=‘“+txtDepName.Text.Trim()+“‘“;
????????????????int?i=operate.HumanNum(str);//得到記錄數量
????????????????if?(i?>?0)
????????????????{
????????????????????MessageBox.Show(“該部門已經存在“?“提示“//彈出消息對話框
????????????????????????MessageBoxButtons.OK?MessageBoxIcon.Information);
????????????????????return;//退出事件
????????????????}
????????????????else
????????????????{
????????????????????string?Addsql?=//創建SQL字符串
????????????????????????“insert?into?tb_department(DepName)?values(‘“?+?txtDepName.Text.Trim()?+?“‘)“;
????????????????????if?(operate.OperateData(Addsql)?>?0)
????????????????????{
????????????????????????MessageBox.Show(“添加成功“?“提示“//彈出消息對話框
????????????????????????????MessageBoxButtons.OK?MessageBoxIcon.Information);
????????????????????}
????????????????}
????????????}
????????}
????}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????1864192??2010-08-11?13:44??企業人事工資系統\PMS\PMS\Backup\PMS.bak
?????文件?????521216??2012-12-27?09:37??企業人事工資系統\PMS\PMS\bin\Debug\PMS.exe
?????文件?????419328??2012-12-27?09:37??企業人事工資系統\PMS\PMS\bin\Debug\PMS.pdb
?????文件??????14328??2010-08-09?15:33??企業人事工資系統\PMS\PMS\bin\Debug\PMS.vshost.exe
?????文件????????490??2009-06-11?05:14??企業人事工資系統\PMS\PMS\bin\Debug\PMS.vshost.exe.manifest
?????文件??????????1??2010-08-12?13:06??企業人事工資系統\PMS\PMS\ClassDiagram1.cd
?????文件???????5246??2012-12-27?09:37??企業人事工資系統\PMS\PMS\CrystalReport\UserCheck.cs
?????文件??????16384??2010-08-14?14:41??企業人事工資系統\PMS\PMS\CrystalReport\UserCheck.rpt
?????文件???????5238??2012-12-27?09:37??企業人事工資系統\PMS\PMS\CrystalReport\UserInfo.cs
?????文件??????16384??2010-08-11?10:45??企業人事工資系統\PMS\PMS\CrystalReport\UserInfo.rpt
?????文件???????5230??2012-12-27?09:37??企業人事工資系統\PMS\PMS\CrystalReport\UserPay.cs
?????文件??????16384??2008-04-11?15:54??企業人事工資系統\PMS\PMS\CrystalReport\UserPay.rpt
?????文件???????5246??2012-12-27?09:37??企業人事工資系統\PMS\PMS\CrystalReport\UserPrize.cs
?????文件??????16384??2010-08-11?10:29??企業人事工資系統\PMS\PMS\CrystalReport\UserPrize.rpt
?????文件???????5270??2012-12-27?09:37??企業人事工資系統\PMS\PMS\CrystalReport\UserRedeploy.cs
?????文件??????16384??2010-08-11?14:41??企業人事工資系統\PMS\PMS\CrystalReport\UserRedeploy.rpt
?????文件????2228224??2013-01-07?13:57??企業人事工資系統\PMS\PMS\Databa
?????文件????1048576??2013-01-07?13:57??企業人事工資系統\PMS\PMS\Databa
?????文件???????1880??2010-08-13?11:40??企業人事工資系統\PMS\PMS\frmAddDep.cs
?????文件???????4181??2010-08-11?13:35??企業人事工資系統\PMS\PMS\frmAddDep.Designer.cs
?????文件??????10406??2008-04-18?13:48??企業人事工資系統\PMS\PMS\frmAddDep.resx
?????文件???????6406??2010-08-15?11:15??企業人事工資系統\PMS\PMS\frmAddEmployee.cs
?????文件??????20429??2008-04-18?13:50??企業人事工資系統\PMS\PMS\frmAddEmployee.Designer.cs
?????文件??????46710??2008-04-18?13:50??企業人事工資系統\PMS\PMS\frmAddEmployee.resx
?????文件???????4262??2010-08-13?11:40??企業人事工資系統\PMS\PMS\frmAddUserCheck.cs
?????文件??????13147??2008-04-18?13:51??企業人事工資系統\PMS\PMS\frmAddUserCheck.Designer.cs
?????文件??????12526??2008-04-18?13:51??企業人事工資系統\PMS\PMS\frmAddUserCheck.resx
?????文件???????4200??2010-08-13?11:40??企業人事工資系統\PMS\PMS\frmAddUserRedeploy.cs
?????文件??????15384??2008-04-18?15:28??企業人事工資系統\PMS\PMS\frmAddUserRedeploy.Designer.cs
?????文件??????12526??2008-04-18?15:28??企業人事工資系統\PMS\PMS\frmAddUserRedeploy.resx
............此處省略183個文件信息
- 上一篇:廣聯達無驅鎖升級網絡鎖
- 下一篇:5.3復合旋轉變換.zip
評論
共有 條評論