Exemplo n.º 1
0
        private void selectCliente_Load(object sender, EventArgs e)
        {
            sqlDateBaseManager sql = new sqlDateBaseManager();

            sql.dropTableOnGridView(dataGridView1, "clientes");
            textBox1.Select();
        }
Exemplo n.º 2
0
        //show clients
        private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
        {
            sqlDateBaseManager sql = new sqlDateBaseManager();

            if (textBox7.Text != "")
            {
                sql.dropTableOnGridViewWithFilter(dataGridView1, "clientes", "nombre", textBox7.Text);
            }
            else
            {
                sql.dropTableOnGridView(dataGridView1, "clientes");
            }
        }
Exemplo n.º 3
0
        private void acabados_Load(object sender, EventArgs e)
        {
            sqlDateBaseManager sql = new sqlDateBaseManager();

            sql.dropTableOnGridView(datagridviewNE1, "acabados");
        }