C# Class WebFormsLab.CustomerDetails

Inheritance: System.Web.UI.Page
Mostrar archivo Open project: Microsoft-Web/HOL-ASPNETWebForms

Protected Properties

Property Type Description
ValidationSummary1 global::System.Web.UI.WebControls.ValidationSummary
fvDataBinding global::System.Web.UI.WebControls.FormView

Public Methods

Method Description
SaveCustomer ( Customer customer ) : void
SelectCustomer ( [ id ) : Customer
UpdateCustomer ( int id ) : void

Protected Methods

Method Description
Page_Load ( object sender, EventArgs e ) : void

Method Details

Page_Load() protected method

protected Page_Load ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

SaveCustomer() public method

public SaveCustomer ( Customer customer ) : void
customer WebFormsLab.Model.Customer
return void

SelectCustomer() public method

public SelectCustomer ( [ id ) : Customer
id [
return WebFormsLab.Model.Customer

UpdateCustomer() public method

public UpdateCustomer ( int id ) : void
id int
return void

Property Details

ValidationSummary1 protected_oe property

ValidationSummary1 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.ValidationSummary ValidationSummary1
return global::System.Web.UI.WebControls.ValidationSummary

fvDataBinding protected_oe property

fvDataBinding control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.FormView fvDataBinding
return global::System.Web.UI.WebControls.FormView