Пример #1
0
 private void checkout_Load(object sender, System.EventArgs e)
 {
     CustomerDS.Customer cust = StoreController.GetCustomerByLogon(logon.UserName);
     nameText.Text       = cust.FullName;
     addressText.Text    = cust.EmailAddress;
     creditCardText.Text = "1111-1111-1111-1111";
 }
Пример #2
0
 private void ShowCustInfo()
 {
     CustomerDS.Customer cust = myController.GetCustomerByLogon(Page.User.Identity.Name);
     txtName.Text  = cust.FullName;
     txtAddr.Text  = cust.EmailAddress;
     txtCCNum.Text = "1111-1111-1111-1111";
 }