protected void btnUyeOl_Click(object sender, EventArgs e) { if (txtParola.Text == "" || txtParolaTekrar.Text == "") { lblSonuc.Text = "Lütfen tüm alanları doldurunuz."; } else if (txtParola.Text.Length < 4) { lblSonuc.Text = "Parolanız en az 4 karekterden oluşmalıdır."; } else if (txtParola.Text != txtParolaTekrar.Text) { lblSonuc.Text = "Parolanız eşleşmiyor."; } else { kullanicilar.parola = txtParola.Text; kullanicilar.kAdi = lblKAd.Text; bool guncellendimi = kullanicilar.ParolaGuncelle(); if (guncellendimi) { Response.Redirect("Default.aspx"); } else { lblSonuc.Text = "Rahmet Olası Hatalar Oluştu. Lütfen Daha Sonra Tekrar Deneyin."; } } }