コード例 #1
0
        private void buttonekle_Click(object sender, EventArgs e)
        {
            d1          = new DERS();
            d1.DERS_AD  = textBoxders.Text;
            d1.ACIKLAMA = richTextBoxacıklama.Text;
            Veritabani.Connect();

            bool deger = Veritabani.DERS_EKLE(d1);

            if (deger)
            {
                MessageBox.Show("Ders Eklendi");
            }

            Veritabani.Disconnect();
        }