Esempio n. 1
0
 protected void uiDropDownListUsers_SelectedIndexChanged(object sender, EventArgs e)
 {
     Users user = new Users();
     user.LoadByPrimaryKey(Convert.ToInt32(uiDropDownListUsers.SelectedValue));
     uiTextBoxFN.Text = user.FirstName;
     uiTextBoxLN.Text = user.LastName;
     uiTextBoxAddress.Text = user.Address;
     uiTextBoxCity.Text = user.City;
     uiTextBoxState.Text = user.State;
     uiTextBoxFax.Text = user.Fax;
     uiTextBoxTelephone.Text = user.Phone;
     uiTextBoxMail.Text = user.Mail;
 }