这是一个基于c#+sql的人事工资管理系统,包括源代码,功能齐全。
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1638400 2007-04-21 23:45 C#人事工资管理系统源代码第2章 人事工资管理系统DatabaseMyPersonnel.mdf
文件 786432 2007-04-21 23:45 C#人事工资管理系统源代码第2章 人事工资管理系统DatabaseMyPersonnel_log.LDF
文件 4570 2007-02-23 11:02 C#人事工资管理系统源代码第2章 人事工资管理系统DatabaseMyPersonnel数据库.sql
文件 256 2006-12-17 16:35 C#人事工资管理系统源代码第2章 人事工资管理系统DatabaseSQL2005更新工资触发器.txt
文件 1670 2007-02-23 11:05 C#人事工资管理系统源代码第2章 人事工资管理系统Database公司信息数据表.sql
文件 1202 2007-02-23 11:04 C#人事工资管理系统源代码第2章 人事工资管理系统Database公司部门数据表.sql
文件 2042 2007-02-23 11:06 C#人事工资管理系统源代码第2章 人事工资管理系统Database员工家庭成员数据表.sql
文件 7030 2007-02-13 16:48 C#人事工资管理系统源代码第2章 人事工资管理系统Database在职员工视图.sql
文件 1948 2007-02-23 11:06 C#人事工资管理系统源代码第2章 人事工资管理系统Database培训记录数据表.sql
文件 3960 2007-02-23 11:05 C#人事工资管理系统源代码第2章 人事工资管理系统Database基本档案数据表.sql
文件 1794 2007-02-23 11:05 C#人事工资管理系统源代码第2章 人事工资管理系统Database奖惩记录数据表.sql
文件 1574 2007-02-23 11:04 C#人事工资管理系统源代码第2章 人事工资管理系统Database工作业绩数据表.sql
文件 1784 2007-02-23 11:04 C#人事工资管理系统源代码第2章 人事工资管理系统Database工作简历数据表.sql
文件 2954 2007-02-23 11:03 C#人事工资管理系统源代码第2章 人事工资管理系统Database工资发放表数据表.sql
文件 1848 2007-02-23 11:04 C#人事工资管理系统源代码第2章 人事工资管理系统Database工资核算表数据表.sql
文件 1962 2007-02-23 11:03 C#人事工资管理系统源代码第2章 人事工资管理系统Database操作用户数据表.sql
文件 1620 2007-02-23 11:05 C#人事工资管理系统源代码第2章 人事工资管理系统Database离职管理数据表.sql
文件 4646 2007-02-23 11:05 C#人事工资管理系统源代码第2章 人事工资管理系统Database考勤记录数据表.sql
文件 4805 2006-12-12 17:35 C#人事工资管理系统源代码第2章 人事工资管理系统MyPersonnelAbsentForm.cs
文件 33881 2006-12-12 17:25 C#人事工资管理系统源代码第2章 人事工资管理系统MyPersonnelAbsentForm.Designer.cs
文件 15232 2006-12-12 17:25 C#人事工资管理系统源代码第2章 人事工资管理系统MyPersonnelAbsentForm.resx
文件 417 2006-12-11 19:33 C#人事工资管理系统源代码第2章 人事工资管理系统MyPersonnelapp.config
文件 4912 2007-02-24 17:52 C#人事工资管理系统源代码第2章 人事工资管理系统MyPersonnelArchievementForm.cs
文件 33245 2007-02-24 07:54 C#人事工资管理系统源代码第2章 人事工资管理系统MyPersonnelArchievementForm.Designer.cs
文件 14862 2007-02-24 07:54 C#人事工资管理系统源代码第2章 人事工资管理系统MyPersonnelArchievementForm.resx
文件 103477 2006-12-11 20:20 C#人事工资管理系统源代码第2章 人事工资管理系统MyPersonnelinReleaseDataMyBgPhoto1.JPG
文件 57076 2006-12-11 11:44 C#人事工资管理系统源代码第2章 人事工资管理系统MyPersonnelinReleaseDataMyBgPhoto2.JPG
文件 33202 2006-12-11 11:54 C#人事工资管理系统源代码第2章 人事工资管理系统MyPersonnelinReleaseDataMyBgPhoto3.JPG
文件 29627 2006-12-11 11:56 C#人事工资管理系统源代码第2章 人事工资管理系统MyPersonnelinReleaseDataMyBgPhoto4.JPG
文件 123953 2007-02-14 10:57 C#人事工资管理系统源代码第2章 人事工资管理系统MyPersonnelinReleaseDataShowMyBgPhoto1.jpg
............此处省略163个文件信息
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;
namespace MyPersonnel
{
public partial class AbsentForm : Form
{
public AbsentForm()
{
InitializeComponent();
}
private void 缺勤记录BindingNavigatorSaveItem_Click(object sender EventArgs e)
{
this.Validate();
this.缺勤记录BindingSource.EndEdit();
this.缺勤记录TableAdapter.Update(this.myPersonnelDataSet.缺勤记录);
}
private void AbsentForm_Load(object sender EventArgs e)
{
// TODO: 这行代码将数据加载到表“myPersonnelDataSet.缺勤记录”中。您可以根据需要移动或移除它。
this.缺勤记录TableAdapter.Fill(this.myPersonnelDataSet.缺勤记录);
}
private void bindingNavigatorAddNewItem_Click(object sender EventArgs e)
{
//自动计算缺勤记录自编号
String MySQLConnectionString = global::MyPersonnel.Properties.Settings.Default.MyPersonnelConnectionString;
SqlConnection MyConnection = new SqlConnection(MySQLConnectionString);
MyConnection.Open();
SqlCommand MyCommand = MyConnection.CreateCommand();
MyCommand.CommandText = “Select max(自编号) 最大编号 From 缺勤记录“;
object MyResult = MyCommand.ExecuteScalar();
Int64 MyID = 1;
if (MyResult != System.DBNull.Value)
{
String MyMaxID = MyResult.ToString().Trim();
MyMaxID = MyMaxID.Substring(2 MyMaxID.Length - 2);
MyID = Convert.ToInt64(MyMaxID) + 1;
}
int MyLength = MyID.ToString().Length;
string MyNewID = ““;
switch (MyLength)
{
case 1:
MyNewID = “QQ0000000“ + MyID.ToString();
break;
case 2:
MyNewID = “QQ000000“ + MyID.ToString();
break;
case 3:
MyNewID = “QQ00000“ + MyID.ToString();
break;
case 4:
MyNewID = “QQ0000“ + MyID.ToString();
break;
case 5:
MyNewID = “QQ000“ + MyID.ToString();
break;
case 6:
MyNewID = “QQ00“ + MyID.ToString();
break;
case 7:
MyNewID = “QQ0“ + MyID.ToString();
break;
}
if (MyConnection.State == ConnectionState.Open)
{
MyConnection.Close();
}
this.自编号TextBox.Text = MyNewID;
}
private void 查询ToolStripButton_Click(object sender EventArgs e)
{
String MySQLConnectionString = global::MyPersonnel.Pro
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1638400 2007-04-21 23:45 C#人事工资管理系统源代码第2章 人事工资管理系统Databa
文件 786432 2007-04-21 23:45 C#人事工资管理系统源代码第2章 人事工资管理系统Databa
文件 4570 2007-02-23 11:02 C#人事工资管理系统源代码第2章 人事工资管理系统Databa
文件 256 2006-12-17 16:35 C#人事工资管理系统源代码第2章 人事工资管理系统Databa
文件 1670 2007-02-23 11:05 C#人事工资管理系统源代码第2章 人事工资管理系统Databa
文件 1202 2007-02-23 11:04 C#人事工资管理系统源代码第2章 人事工资管理系统Databa
文件 2042 2007-02-23 11:06 C#人事工资管理系统源代码第2章 人事工资管理系统Databa
文件 7030 2007-02-13 16:48 C#人事工资管理系统源代码第2章 人事工资管理系统Databa
文件 1948 2007-02-23 11:06 C#人事工资管理系统源代码第2章 人事工资管理系统Databa
文件 3960 2007-02-23 11:05 C#人事工资管理系统源代码第2章 人事工资管理系统Databa
文件 1794 2007-02-23 11:05 C#人事工资管理系统源代码第2章 人事工资管理系统Databa
文件 1574 2007-02-23 11:04 C#人事工资管理系统源代码第2章 人事工资管理系统Databa
文件 1784 2007-02-23 11:04 C#人事工资管理系统源代码第2章 人事工资管理系统Databa
文件 2954 2007-02-23 11:03 C#人事工资管理系统源代码第2章 人事工资管理系统Databa
文件 1848 2007-02-23 11:04 C#人事工资管理系统源代码第2章 人事工资管理系统Databa
文件 1962 2007-02-23 11:03 C#人事工资管理系统源代码第2章 人事工资管理系统Databa
文件 1620 2007-02-23 11:05 C#人事工资管理系统源代码第2章 人事工资管理系统Databa
文件 4646 2007-02-23 11:05 C#人事工资管理系统源代码第2章 人事工资管理系统Databa
文件 4805 2006-12-12 17:35 C#人事工资管理系统源代码第2章 人事工资管理系统MyPersonnelAbsentForm.cs
文件 33881 2006-12-12 17:25 C#人事工资管理系统源代码第2章 人事工资管理系统MyPersonnelAbsentForm.Designer.cs
文件 15232 2006-12-12 17:25 C#人事工资管理系统源代码第2章 人事工资管理系统MyPersonnelAbsentForm.resx
文件 417 2006-12-11 19:33 C#人事工资管理系统源代码第2章 人事工资管理系统MyPersonnelapp.config
文件 4912 2007-02-24 17:52 C#人事工资管理系统源代码第2章 人事工资管理系统MyPersonnelArchievementForm.cs
文件 33245 2007-02-24 07:54 C#人事工资管理系统源代码第2章 人事工资管理系统MyPersonnelArchievementForm.Designer.cs
文件 14862 2007-02-24 07:54 C#人事工资管理系统源代码第2章 人事工资管理系统MyPersonnelArchievementForm.resx
文件 103477 2006-12-11 20:20 C#人事工资管理系统源代码第2章 人事工资管理系统MyPersonnelinReleaseDataMyBgPhoto1.JPG
文件 57076 2006-12-11 11:44 C#人事工资管理系统源代码第2章 人事工资管理系统MyPersonnelinReleaseDataMyBgPhoto2.JPG
文件 33202 2006-12-11 11:54 C#人事工资管理系统源代码第2章 人事工资管理系统MyPersonnelinReleaseDataMyBgPhoto3.JPG
文件 29627 2006-12-11 11:56 C#人事工资管理系统源代码第2章 人事工资管理系统MyPersonnelinReleaseDataMyBgPhoto4.JPG
文件 123953 2007-02-14 10:57 C#人事工资管理系统源代码第2章 人事工资管理系统MyPersonnelinReleaseDataShowMyBgPhoto1.jpg
............此处省略163个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)