Ejemplo n.º 1
0
 private void KullaniciRapor_Load(object sender, EventArgs e)
 {
     try
     {
         kullanici.baglantiS.Open();
         kullanici.Listele("kullaniciTablosu2");
         TabloYenileme();
     }
     catch (Exception error)
     {
         MessageBox.Show(error.Message);
         kullanici.baglantiS.Close();
     }
 }
        private void KullaniciBilgileri_Load(object sender, EventArgs e)
        {
            try
            {
                kullaniciGiris.baglantiS.Open();
                kullaniciGiris.Listele("kullaniciTablosu2");
                TabloYenileme();
            }
            catch (Exception error)
            {
                MessageBox.Show(error.Message);
                kullaniciGiris.baglantiS.Close();
            }

            telefonTextBox.MaxLength = 10;
        }