Esempio n. 1
0
        private void Bacsi_Load(object sender, EventArgs e)
        {
            Bacsictrl bs = new Bacsictrl();

            bs.LoadDatagridview(dataGridView1, "", "", "", "", "");
            LoadDataGridViewFormat();
            TrangThaiBanDau();

            clsDatabase cls = new clsDatabase();

            cls.loadcombobox(comboBox1, "SELECT * FROM tblLoaihinhdichvu", 2);
        }
Esempio n. 2
0
        private void button6_Click(object sender, EventArgs e)
        {
            Bacsictrl bsctr = new Bacsictrl();

            bsctr.LoadDatagridview(dataGridView1, textBox1.Text.Trim(), textBox2.Text.Trim(), comboBox1.Text.Trim(), dateTimePicker1.Text.Trim(), textBox3.Text.Trim());
        }