コード例 #1
0
 private void button3_Click(object sender, EventArgs e)
 {
     Models.Configuration config = new Models.Configuration(
         Id,
         txtRazon.Text,
         txtComercial.Text,
         txtRFC.Text,
         txtTelefono.Text,
         txtCalle.Text,
         txtExterior.Text,
         txtInterior.Text,
         txtColonia.Text,
         txtEstado.Text,
         txtPoblacion.Text,
         txtPais.Text,
         txtRegimen.Text,
         txtCp.Text,
         "",
         "",
         "",
         "",
         "",
         "",
         "",
         "",
         0,
         0,
         "",
         "",
         "",
         0,
         "",
         "",
         "",
         0,
         "",
         "",
         0, 0,
         true
         );
     using (config)
     {
         config.updateEmpresa();
     }
     MessageBox.Show("Actualización exitosa");
 }