Ejemplo n.º 1
0
        public void listaDados()
        {
            ManipulaBD mBD = new ManipulaBD();

            // dgvLista.DataSource = mBD.selectSOF("SELECT * FROM DOM_CLIENTE WHERE EMPR_CODIGO_REPRES = '" + label1.Text + "' AND COD_REPRESENTANTE = '" + label2.Text + "' ", "DOM_CLIENTE");
            dataGridView1.DataSource = mBD.selectSOF1("SELECT * FROM DOM_CONTATO WHERE [EMPR_CODIGO] = '730'", "DOM_CONTATO");
        }