菜单
  

                rs("考勤日期") = DTPicker1.Value
                rs("出勤天数") = Text5.Text
                rs("假期加班") = Text6.Text
                rs("其他加班") = Text7.Text
                rs("出差天数") = Text8.Text
                rs("旷工天数") = Text9.Text
                rs("迟到次数") = Text10.Text
                rs("早退次数") = Text11.Text
                rs("备注") = Text12.Text
                rs("部门名称") = Combo1.Text
                rs.Update
                MsgBox "数据添加成功", 64, "信息提示"
                Adodc1.CommandType = adCmdText
                Adodc1.RecordSource = "select * from 员工考勤信息表"
                Adodc1.Refresh
                Text1.Text = ""
                Text2.Text = ""
                Text3.Text = ""
                DTPicker1.Value = Now
                Text5.Text = ""
                Text6.Text = ""
                Text7.Text = ""
                Text8.Text = ""
                Text9.Text = ""
                Text10.Text = ""
                Text11.Text = ""
                Text12.Text = ""
                Combo1.Text = ""
            Else
                MsgBox "该员工考勤信息已经存在了", 16, "警告"
            End If
        End If
    End Sub
    Private Sub DataGrid1_Click()
        If Adodc1.Recordset.RecordCount <= 0 Then
            MsgBox "当前表是空表", 16, "信息提示"
        Else
            Text1.Text = Adodc1.Recordset.Fields(0)
            Text2.Text = Adodc1.Recordset.Fields(1)
            Text3.Text = Adodc1.Recordset.Fields(2)
            DTPicker1.Value = Adodc1.Recordset.Fields(3)
            Text5.Text = Adodc1.Recordset.Fields(5)
            Text6.Text = Adodc1.Recordset.Fields(6)
  1. 上一篇:基于.net银行储蓄系统的设计与实现
  2. 下一篇:ASP.net+sqlserver手工艺分享网站设计与开发
  1. jsp+mysql学生选课信息系统设计与实现

  2. Ruby+mysql就业信息管理系统的设计与实现

  3. VB+sqlserver社区医院信息管理系统的设计与实现

  4. java+mysql房地产开发与销售...

  5. VB+sqlserver高校宿舍信息管理系统的设计与实现

  6. java+mysql车票预订信息系统设计与实现

  7. 基于信息技术课程培养初...

  8. 杂拟谷盗体内共生菌沃尔...

  9. 河岸冲刷和泥沙淤积的监测国内外研究现状

  10. 乳业同业并购式全产业链...

  11. 酸性水汽提装置总汽提塔设计+CAD图纸

  12. 当代大学生慈善意识研究+文献综述

  13. 十二层带中心支撑钢结构...

  14. 中考体育项目与体育教学合理结合的研究

  15. 大众媒体对公共政策制定的影响

  16. 电站锅炉暖风器设计任务书

  17. java+mysql车辆管理系统的设计+源代码

  

About

751论文网手机版...

主页:http://www.751com.cn

关闭返回