C# Class WebFormsLab.Products

Afficher le fichier Open project: Microsoft-Web/HOL-ASPNETWebForms

Protected Properties

Свойство Type Description
Label1 global::System.Web.UI.WebControls.Label
ValidationSummary1 global::System.Web.UI.WebControls.ValidationSummary
categoriesGrid global::System.Web.UI.WebControls.GridView
minProductsCount global::System.Web.UI.WebControls.DropDownList
productsGrid global::System.Web.UI.WebControls.GridView

Méthodes publiques

Méthode Description
GetCategories ( [ minProductsCount ) : IQueryable
GetProducts ( [ categoryId ) : IEnumerable
UpdateCategory ( int categoryId ) : void

Méthodes protégées

Méthode Description
Page_Load ( object sender, EventArgs e ) : void

Method Details

GetCategories() public méthode

public GetCategories ( [ minProductsCount ) : IQueryable
minProductsCount [
Résultat IQueryable

GetProducts() public méthode

public GetProducts ( [ categoryId ) : IEnumerable
categoryId [
Résultat IEnumerable

Page_Load() protected méthode

protected Page_Load ( object sender, EventArgs e ) : void
sender object
e EventArgs
Résultat void

UpdateCategory() public méthode

public UpdateCategory ( int categoryId ) : void
categoryId int
Résultat void

Property Details

Label1 protected_oe property

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

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
Résultat global::System.Web.UI.WebControls.ValidationSummary

categoriesGrid protected_oe property

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

minProductsCount protected_oe property

minProductsCount control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.DropDownList minProductsCount
Résultat global::System.Web.UI.WebControls.DropDownList

productsGrid protected_oe property

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