Пример #1
0
        protected void Button2_Click(object sender, EventArgs e)
        {
            string KullaniciAdi = Convert.ToString(Session["KullaniciAdi"]);
            string KitapAdi     = Convert.ToString(Session["KitapAdi"]);
            int    SayfaNo      = Convert.ToInt32(TextBox1.Text);
            string AlintiCumle  = Convert.ToString(TextBox2.Text);
            int    KitapId      = Islemler.KitapIDCek(KitapAdi);

            Islemler.AlintiEkle(KullaniciAdi, KitapId, KitapAdi, SayfaNo, AlintiCumle);
            Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "Onay", "<script>alert('Alıntı kaydınız başarıyla sonuçlanmıştır. ');</script>");
        }