コード例 #1
0
        public void verigoster()
        {
            Sigortaclass sc    = new Sigortaclass();
            DataTable    table = sc.goster();

            SigortaListe.DataSource = table;
        }
コード例 #2
0
        private void btn_sil_Click(object sender, EventArgs e)
        {
            Sigortaclass sc = new Sigortaclass();

            sc.sigortasil(Convert.ToInt32(txt_id.Text));
            verigoster();
            temizle();
        }
コード例 #3
0
        private void ben_guncelle_Click(object sender, EventArgs e)
        {
            Sigortaclass sc = new Sigortaclass();

            sc.sigortaguncelle(txt_sigturu.Text, Convert.ToInt32(txt_id.Text));;
            verigoster();
            temizle();
        }
コード例 #4
0
        private void btn_ekle_Click(object sender, EventArgs e)
        {
            Sigortaclass sc = new Sigortaclass();

            sc.sigortaekle(txt_sigturu.Text);
            verigoster();
            temizle();
        }