资源简介
基于c#人事工资管理系统,数据库放在Database文件夹下,附使用说明文档

代码片段和文件信息
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
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=“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 = “insert into tb_department(DepName) values(‘“ + txtDepName.Text.Trim() + “‘)“;
if (operate.OperateData(Addsql) > 0)
{
MessageBox.Show(“添加成功“ “提示“ MessageBoxButtons.OK MessageBoxIcon.Information);
}
}
}
}
private void frmAddDep_Load(object sender EventArgs e)
{
}
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 134 2018-05-22 11:00 03\PMS\.vs\PMS\DesignTimeBuild\.dtbcache
..A..H. 61440 2017-11-21 11:07 03\PMS\.vs\PMS\v14\.suo
..A..H. 58880 2018-05-22 11:00 03\PMS\.vs\PMS\v15\.suo
文件 0 2018-05-22 10:58 03\PMS\.vs\PMS\v15\Server\sqlite3\db.lock
文件 4096 2018-05-22 10:58 03\PMS\.vs\PMS\v15\Server\sqlite3\storage.ide
文件 32768 2018-05-22 10:58 03\PMS\.vs\PMS\v15\Server\sqlite3\storage.ide-shm
文件 1038272 2018-05-22 10:58 03\PMS\.vs\PMS\v15\Server\sqlite3\storage.ide-wal
文件 161 2017-11-21 13:58 03\PMS\app.config
文件 3399680 2017-11-21 09:23 03\PMS\Backup\PMS.bak
文件 376832 2015-09-25 17:58 03\PMS\bin\Debug\CrystalDecisions.CrystalReports.Engine.dll
文件 65536 2015-09-25 17:58 03\PMS\bin\Debug\CrystalDecisions.ReportAppServer.ClientDoc.dll
文件 49152 2015-09-25 17:58 03\PMS\bin\Debug\CrystalDecisions.ReportAppServer.Commla
文件 135168 2015-09-25 17:58 03\PMS\bin\Debug\CrystalDecisions.ReportAppServer.CommonControls.dll
文件 36864 2015-09-25 17:58 03\PMS\bin\Debug\CrystalDecisions.ReportAppServer.Commonob
文件 176128 2015-09-25 17:58 03\PMS\bin\Debug\CrystalDecisions.ReportAppServer.Controllers.dll
文件 36864 2015-09-25 17:58 03\PMS\bin\Debug\CrystalDecisions.ReportAppServer.CubeDefModel.dll
文件 262144 2015-09-25 17:58 03\PMS\bin\Debug\CrystalDecisions.ReportAppServer.DataDefModel.dll
文件 57344 2015-09-25 17:58 03\PMS\bin\Debug\CrystalDecisions.ReportAppServer.DataSetConversion.dll
文件 5120 2015-09-25 17:58 03\PMS\bin\Debug\CrystalDecisions.ReportAppServer.ob
文件 155648 2015-09-25 17:58 03\PMS\bin\Debug\CrystalDecisions.ReportAppServer.Prompting.dll
文件 368640 2015-09-25 17:58 03\PMS\bin\Debug\CrystalDecisions.ReportAppServer.ReportDefModel.dll
文件 16384 2015-09-25 17:58 03\PMS\bin\Debug\CrystalDecisions.ReportAppServer.xm
文件 86016 2015-09-25 17:58 03\PMS\bin\Debug\CrystalDecisions.ReportSource.dll
文件 876544 2015-09-25 17:58 03\PMS\bin\Debug\CrystalDecisions.Shared.dll
文件 544768 2015-09-25 17:58 03\PMS\bin\Debug\CrystalDecisions.Windows.Forms.dll
文件 28672 2015-09-25 17:58 03\PMS\bin\Debug\FlashControlV71.dll
文件 506880 2018-05-22 10:59 03\PMS\bin\Debug\PMS.exe
文件 161 2017-11-21 13:58 03\PMS\bin\Debug\PMS.exe.config
文件 282112 2018-05-22 10:59 03\PMS\bin\Debug\PMS.pdb
文件 21680 2017-11-21 09:28 03\PMS\bin\Debug\PMS.vshost.exe
............此处省略222个文件信息
相关资源
- C#解析HL7消息的库135797
- C# OCR数字识别实例,采用TessnetOcr,对
- 考试管理系统 - C#源码
- Asp.net学生信息管理系统源码
- 超市进销存管理系统 Sqlserver 数据库文
- asp.net C#购物车源代码
- C#实时网络流量监听源码
- ASP.NET实验室预约管理系统
- C#百度地图源码
- Visual C#.2010从入门到精通配套源程序
- C# 软件版本更新
- C#屏幕软键盘源码,可以自己定制界面
- 020ASP.NET车辆综合管理系统.zip
- 智慧城市 智能家居 C# 源代码
- c#获取mobile手机的IMEI和IMSI
- C#实现简单QQ聊天程序
- 操作系统 模拟的 欢迎下载 C#版
- C#写的计算机性能监控程序
- 用C#实现邮件发送,有点类似于outlo
- MVC model层代码生成器 C#
- c#小型图书销售系统
- C# Socket Server Client 通讯应用 完整的服
- c# winform 自动登录 百度账户 源代码
- C#编写的16进制计算器
- C#TCP通信协议
- C# 数据表(Dataset)操作 合并 查询一
- C#语音识别系统speechsdk51,SpeechSDK51L
- 数据库备份还原工具1.0 C# 源码
-
[免费]xm
lDocument 节点遍历C# - EQ2008LEDc#开发实例
评论
共有 条评论