Exemplo n.º 1
0
        private void test_Load(object sender, EventArgs e)
        {
            SDF sdf  = new SDF(@"C:\Users\eleaz\Desktop\Catalogo_Activos_Etiq.sdf");
            var data = sdf.Read();

            sdf.Update(data, "autobuildHTK-aztecaUM2", "IosUser3", "IU2015!", "localhost");
            dataGridView1.DataSource = data;
        }
Exemplo n.º 2
0
 public void UpdateDatabase()
 {
     try
     {
         SDF sdf  = new SDF(LocalFile);
         var data = sdf.Read();
         sdf.UpdateProgress += Sdf_UpdateProgress;
         sdf.Update(data, tbDB.Text, tbUser.Text, tbPwd.Text, tbHost.Text);
     }
     catch (Exception ex) { MessageBox.Show(ex.Message); }
 }