Ejemplo n.º 1
0
 public Holiday()
 {
     InitializeComponent();
     holiday = new Holidays();
     counts  = new Counts();
     admin   = new Admin();
 }
Ejemplo n.º 2
0
 public Holiday()
 {
     InitializeComponent();
     holiday = new Holidays();
     counts = new Counts();
     admin = new Admin();
 }
Ejemplo n.º 3
0
 public Payroll()
 {
     InitializeComponent();
     admin           = new Admin();
     payroll         = new Payrollsss();
     counts          = new Counts();
     attendaceReport = new AttendanceReport();
 }
Ejemplo n.º 4
0
 public Payroll()
 {
     InitializeComponent();
     admin = new Admin();
     payroll = new Payrollsss();
     counts = new Counts();
     attendaceReport = new AttendanceReport();
 }
Ejemplo n.º 5
0
 public void GetLastIDPayroll(Counts counts)
 {
     SqlCommand command = new SqlCommand();
     Object returnValue;
     command.Connection = connection;
     command.CommandType = CommandType.StoredProcedure;
     command.CommandText = "fprocedureLastIDPayroll";
     command.Connection = connection;
     connection.Open();
     returnValue = command.ExecuteScalar();
     connection.Close();
     counts.LastID = returnValue.ToString();
 }
Ejemplo n.º 6
0
 public void GetCountHoliday(Counts counts)
 {
     SqlCommand command = new SqlCommand();
     Object returnValue;
     command.Connection = connection;
     command.CommandType = CommandType.StoredProcedure;
     command.CommandText = "hprocedureCountHoliday";
     command.Connection = connection;
     connection.Open();
     returnValue = command.ExecuteScalar();
     connection.Close();
     counts.Countss = returnValue.ToString();
 }