Beispiel #1
0
        void Bul(int numara)
        {
            try
            {
                MusteriBL mbl = new MusteriBL();
                Musteri   mstr;


                List <Musteri> mstrlist = mbl.MusteriListele(numara);

                foreach (Musteri musteri in mstrlist)
                {
                    form1.textBox1.Text       = musteri.musteri_ad;
                    form1.textBox2.Text       = musteri.musteri_adres;
                    form1.maskedTextBox1.Text = musteri.musteri_tel;
                }
            }
            catch (Exception)
            {
                MessageBox.Show("MÜŞTERİ BULUNAMADI");
            }
        }
Beispiel #2
0
 private void btnMusteriListele_Click(object sender, EventArgs e)
 {
     dgMusteriler.DataSource = mbl.MusteriListele();
 }