private void fillData(string email) { List <String> list = bll.searchPartyClientByEmailFullInf(email); TextBoxFirstNameU.Text = list[0]; TextBoxSecondNameU.Text = list[1]; TextBoxApellido1U.Text = list[2]; TextBoxApellido2U.Text = list[3]; TextBoxAddressU.Text = list[4]; TextBoxPasswordU.Text = list[5]; switch (list[7]) { case "2": if (list[6].Equals("s")) { CheckBoxEnabledU.Checked = true; } break; } }