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"; }
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"; }