public void userInfo() { var PI = services.getUSerInfo(ID); var Com = services.Get_Com(ID); txtUserName.Text = PI.UName; if (PI.Cinsiyet == "E") { txtCin.SelectedItem = "Erkek"; } else { txtCin.SelectedItem = "Kadın"; } DateBirDay.Text = PI.BirdDay.ToString(); txtUserMail.Text = Com.Mail; txtUserTelNu.Text = Com.Phone.ToString(); richBoxAdress.Document.Blocks.Clear(); richBoxAdress.Document.Blocks.Add(new Paragraph(new Run(Com.Adress.ToString()))); }