public void fncTcKontrol()
{
db.dbConnect();
SqlDataReader dr = db.getData("SELECT tcno, adi FROM profil ,kullanicilar where kullanicilar.profilID=profil.id ");
dr.Read();
if (dr["tcno"].ToString() == "")
{
gelenTc = txtTcNo.Text;
}
else if (dr["tcno"].ToString() != "")
{
txtTcNo.ReadOnly = true;
label7.Text = "yönetici zaten sizi eklemiş. Değiştirme Yapamazsınız.";
}
db.dbClose();
}