protected void btnSmsKaydet_Click(object sender, EventArgs e) { string saglayici = drdSaglayici.SelectedValue; string gonderen = txtMailKimden2.Text; string kull = txtMailKullanici2.Text; string sifre = txtMailSifre2.Text; string aktif = txtSmsAktif.Text; if (!String.IsNullOrEmpty(saglayici)) { using (radiusEntities dc = MyContext.Context(KullaniciIslem.firma())) { AyarIslemleri ayarlar = new AyarIslemleri(dc); ayarlar.SmsAyarKaydetR(saglayici, gonderen, kull, sifre, aktif); } } }