Esempio n. 1
0
 public FormPositions()
 {
     InitializeComponent();
     admin = new Admin();
     positions = new Positions();
     counts = new Counts();
 }
Esempio n. 2
0
 public FormPagIbig()
 {
     InitializeComponent();
     pagIbig = new PagIbig();
     counts = new Counts();
     admin = new Admin();
 }
Esempio n. 3
0
 public FormPhilHealth()
 {
     InitializeComponent();
     philHealth = new PhilHealth();
     counts = new Counts();
     admin = new Admin();
 }
Esempio n. 4
0
 public FormSSS()
 {
     InitializeComponent();
     admin = new Admin();
     sss = new SSS();
     counts = new Counts();
 }
Esempio n. 5
0
 public Department()
 {
     InitializeComponent();
     admin = new Admin();
     department = new Departments();
     counts = new Counts();
 }
Esempio n. 6
0
 public void GetCountDepartment(Counts counts)
 {
     SqlCommand command = new SqlCommand();
     Object returnValue;
     command.Connection = connection;
     command.CommandType = CommandType.StoredProcedure;
     command.CommandText = "bprocedureCountDepartment";
     command.Connection = connection;
     connection.Open();
     returnValue = command.ExecuteScalar();
     connection.Close();
     counts.Countss = returnValue.ToString();
 }
        public void GetCountDepartment(Counts counts)
        {
            SqlCommand command = new SqlCommand();
            Object     returnValue;

            command.Connection  = connection;
            command.CommandType = CommandType.StoredProcedure;
            command.CommandText = "bprocedureCountDepartment";
            command.Connection  = connection;
            connection.Open();
            returnValue = command.ExecuteScalar();
            connection.Close();
            counts.Countss = returnValue.ToString();
        }
        public void GetLastIDPagIbig(Counts counts)
        {
            SqlCommand command = new SqlCommand();
            Object     returnValue;

            command.Connection  = connection;
            command.CommandType = CommandType.StoredProcedure;
            command.CommandText = "fprocedureLastIDPagIbig";
            command.Connection  = connection;
            connection.Open();
            returnValue = command.ExecuteScalar();
            connection.Close();
            counts.LastID = returnValue.ToString();
        }
Esempio n. 9
0
 public void GetLastIDPagIbig(Counts counts)
 {
     SqlCommand command = new SqlCommand();
     Object returnValue;
     command.Connection = connection;
     command.CommandType = CommandType.StoredProcedure;
     command.CommandText = "fprocedureLastIDPagIbig";
     command.Connection = connection;
     connection.Open();
     returnValue = command.ExecuteScalar();
     connection.Close();
     counts.LastID = returnValue.ToString();
 }