C# Class EditCustomerBrett.EditCustomer

Show file Open project: larryslack/OrderingProject

Protected Properties

Property Type Description
btnAdd global::System.Web.UI.WebControls.Button
btnCancel global::System.Web.UI.WebControls.Button
btnConfirm global::System.Web.UI.WebControls.Button
customerFields global::System.Web.UI.HtmlControls.HtmlGenericControl
form1 global::System.Web.UI.HtmlControls.HtmlForm
gridCustomers global::System.Web.UI.WebControls.GridView
lblAddress global::System.Web.UI.WebControls.Label
lblCity global::System.Web.UI.WebControls.Label
lblContactName global::System.Web.UI.WebControls.Label
lblContactTitle global::System.Web.UI.WebControls.Label
lblCountry global::System.Web.UI.WebControls.Label
lblCustomer global::System.Web.UI.HtmlControls.HtmlGenericControl
lblCustomerID global::System.Web.UI.WebControls.Label
lblFax global::System.Web.UI.WebControls.Label
lblName global::System.Web.UI.WebControls.Label
lblPhone global::System.Web.UI.WebControls.Label
lblPostalCode global::System.Web.UI.WebControls.Label
lblRegion global::System.Web.UI.WebControls.Label
secTable global::System.Web.UI.HtmlControls.HtmlGenericControl
txtAddress global::System.Web.UI.WebControls.TextBox
txtCity global::System.Web.UI.WebControls.TextBox
txtCompanyName global::System.Web.UI.WebControls.TextBox
txtContactName global::System.Web.UI.WebControls.TextBox
txtContactTitle global::System.Web.UI.WebControls.TextBox
txtCountry global::System.Web.UI.WebControls.TextBox
txtCustomerID global::System.Web.UI.WebControls.TextBox
txtFax global::System.Web.UI.WebControls.TextBox
txtPhone global::System.Web.UI.WebControls.TextBox
txtPostalCode global::System.Web.UI.WebControls.TextBox
txtRegion global::System.Web.UI.WebControls.TextBox

Protected Methods

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

Private Methods

Method Description
AddButtons ( List cusList ) : void
BindGrid ( ) : void
ClearTextBoxes ( ) : void
CreateGridRows ( ) : void
DynButtRemove_Click ( object sender, EventArgs e ) : void
HideTable ( ) : void
ResetForm ( ) : void
setupGrid ( List cusList ) : void

Method Details

Page_Load() protected method

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

btnAdd_Click() protected method

protected btnAdd_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

btnCancel_Click() protected method

protected btnCancel_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

btnConfirm_Click() protected method

protected btnConfirm_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

Property Details

btnAdd protected property

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

btnCancel protected property

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

btnConfirm protected property

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

customerFields protected property

customerFields control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlGenericControl customerFields
return global::System.Web.UI.HtmlControls.HtmlGenericControl

form1 protected property

form1 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlForm form1
return global::System.Web.UI.HtmlControls.HtmlForm

gridCustomers protected property

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

lblAddress protected property

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

lblCity protected property

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

lblContactName protected property

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

lblContactTitle protected property

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

lblCountry protected property

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

lblCustomer protected property

lblCustomer control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlGenericControl lblCustomer
return global::System.Web.UI.HtmlControls.HtmlGenericControl

lblCustomerID protected property

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

lblFax protected property

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

lblName protected property

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

lblPhone protected property

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

lblPostalCode protected property

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

lblRegion protected property

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

secTable protected property

secTable control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlGenericControl secTable
return global::System.Web.UI.HtmlControls.HtmlGenericControl

txtAddress protected property

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

txtCity protected property

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

txtCompanyName protected property

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

txtContactName protected property

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

txtContactTitle protected property

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

txtCountry protected property

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

txtCustomerID protected property

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

txtFax protected property

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

txtPhone protected property

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

txtPostalCode protected property

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

txtRegion protected property

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