Exemplo n.º 1
0
        private void button2_Click(object sender, EventArgs e)
        {
            int luongId    = Convert.ToInt32(textBox1.Text);
            int songaycong = Convert.ToInt32(textBox5.Text);
            int luong      = Convert.ToInt32(textBox6.Text);

            KeToan.updateLuong(conn, luongId, songaycong, luong);
        }
Exemplo n.º 2
0
        private void button1_Click(object sender, EventArgs e)
        {
            int maNV       = Convert.ToInt32(textBox2.Text);
            int thang      = Convert.ToInt32(textBox3.Text);
            int nam        = Convert.ToInt32(textBox4.Text);
            int songaycong = Convert.ToInt32(textBox5.Text);
            int luong      = Convert.ToInt32(textBox6.Text);

            KeToan.insertLuong(conn, maNV, thang, nam, songaycong, luong);
        }