protected void Button1_Click(object sender, EventArgs e) { if (string.IsNullOrWhiteSpace(txtKullan.Text + txtSifre.Text + txtMail.Text)) { uyari.Text = "Tüm alanları doldurmak zorundasınız"; return; } SqlConnection baglanti = new SqlConnection("Data Source=RMZN;Initial Catalog=veri;Integrated Security=True;"); baglanti.Open(); SqlCommand cmd = new SqlCommand("Instert into Uyeler(UyeAdi,UyeSifre,UyeMail) values ('"+txtKullan.Text+"','"+txtSifre.Text+"','"+txtMail.Text+"')",baglanti); cmd.ExecuteNonQuery(); txtKullan.Text = ""; txtSifre.Text = ""; txtMail.Text = ""; uyari.Text = "Kayıt işlemi başarıyla tamamlandı giriş yapabilirsiniz."; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)