C# Class _30TipsAndTricks.WebForms.ViewStates

显示文件 Open project: adamtuliper/30TipsAndTricksForASPNET

Protected Properties

Property Type Description
form1 global::System.Web.UI.HtmlControls.HtmlForm
statesList global::System.Web.UI.WebControls.GridView

Public Methods

Method Description
LoadStates ( ) : IEnumerable
SaveState ( State state ) : void

Protected Methods

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

Method Details

LoadStates() public method

public LoadStates ( ) : IEnumerable
return IEnumerable

Page_Load() protected method

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

SaveState() public method

public SaveState ( State state ) : void
state State
return void

Property Details

form1 protected_oe 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

statesList protected_oe property

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