public void Loaduser_info() { var list = user.Loaduserinfo(_iUserID); if (list.Count > 0) { Lbemail.Text = list.First().CUSTOMER_EMAIL; Txtname.Text = list.First().CUSTOMER_FULLNAME; Txtphone.Text = list.First().CUSTOMER_PHONE1; int _daybirth = list[0].CUSTOMER_UPDATE.Value.Day; int _monthbirth = list[0].CUSTOMER_UPDATE.Value.Month; int _yearbirth = list[0].CUSTOMER_UPDATE.Value.Year; Drday.SelectedValue = _daybirth.ToString(); Drmoth.SelectedValue = _monthbirth.ToString(); Dryear.SelectedValue = _yearbirth.ToString(); Drsex.SelectedValue = list[0].CUSTOMER_FIELD3; if (Utils.CIntDef(list[0].CUSTOMER_TYPE) == 1) { div_codebank.Visible = true; div_code.Visible = true; lbcodePartner.Text = list[0].CUSTOMER_CODEID; txtCodebank.Text = list[0].CUSTOMER_CODEBANK; } else { div_codebank.Visible = false; div_code.Visible = false; } } }
public void Loaduser_info() { var list = user.Loaduserinfo(_iUserID); if (list.Count > 0) { Lbemail.Text = list.First().CUSTOMER_EMAIL; Txtname.Text = list.First().CUSTOMER_FULLNAME; Txtphone.Text = list.First().CUSTOMER_PHONE1; txtdate.Value = formatdate(list[0].CUSTOMER_UPDATE); if (Utils.CIntDef(list[0].CUSTOMER_TYPE) == 1) { div_codebank.Visible = true; div_code.Visible = true; lbcodePartner.Text = list[0].CUSTOMER_CODEID; txtCodebank.Text = list[0].CUSTOMER_CODEBANK; } else { div_codebank.Visible = false; div_code.Visible = false; } //pickbirth.returnDate = Utils.CDateDef(list[0].CUSTOMER_UPDATE, DateTime.Now); Rdsex.SelectedValue = list[0].CUSTOMER_FIELD3; } }
private void getInfoAcount() { var list = user.Loaduserinfo(_iUserID); if (list.Count > 0) { txtname.Value = list[0].CUSTOMER_FULLNAME; txtemail.Value = list[0].CUSTOMER_EMAIL; txtphone.Value = list[0].CUSTOMER_PHONE1; } }
public void Loaduser_info() { var list = user.Loaduserinfo(_iUserID); if (list.Count > 0) { Lbgetting.Text = "Chào " + list[0].CUSTOMER_FULLNAME; Lbname.Text = list[0].CUSTOMER_FULLNAME; Lbemail.Text = list[0].CUSTOMER_EMAIL; Lbadd.Text = list[0].CUSTOMER_ADDRESS + " - " + user.getnamePro(Utils.CIntDef(list[0].CUSTOMER_FIELD2)) + " - " + user.getnamePro(Utils.CIntDef(list[0].CUSTOMER_FIELD1)); } }
public void Loaduser_info() { var list = user.Loaduserinfo(_iUserID); if (list.Count > 0) { //Lbemail.Text = list.First().CUSTOMER_EMAIL; //Txtname.Text = list.First().CUSTOMER_FULLNAME; //Txtphone.Text = list.First().CUSTOMER_PHONE1; Txtadd.Text = list.First().CUSTOMER_ADDRESS; Drcity.SelectedValue = list[0].CUSTOMER_FIELD1; Load_distric(Utils.CIntDef(list[0].CUSTOMER_FIELD1)); Drdistric.SelectedValue = list[0].CUSTOMER_FIELD2; } }
private void getInfoAcount() { var list = user.Loaduserinfo(_iUserID); if (list.Count > 0) { Txtname.Value = list[0].CUSTOMER_FULLNAME; txtemail.Value = list[0].CUSTOMER_EMAIL; txtphone.Value = list[0].CUSTOMER_PHONE1; txtadd.Value = list[0].CUSTOMER_ADDRESS; Drcity.SelectedValue = list[0].CUSTOMER_FIELD1; Load_distric(Utils.CIntDef(list[0].CUSTOMER_FIELD1)); Drdistric.SelectedValue = list[0].CUSTOMER_FIELD2; } }