public FormProcuraLocal()
        {
            InitializeComponent();

            Connect con = new Connect();

            con.ConnectToMySql();

            dataGridView1.DataSource = con.SelecionaTodosLocais();
            dataGridView1.DataMember = "ZM_LOCAL";
        }
예제 #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     Connect PERS = new Connect();
     PERS.ConnectToMySql();
     PERS.SalvarLocal(textBox1.Text, textBox2.Text, textBox3.Text, textBox4.Text);
 }