C# 클래스 WebFormsLab.Products

파일 보기 프로젝트 열기: Microsoft-Web/HOL-ASPNETWebForms

보호된 프로퍼티들

프로퍼티 타입 설명
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

공개 메소드들

메소드 설명
GetCategories ( [ minProductsCount ) : IQueryable
GetProducts ( [ categoryId ) : IEnumerable
UpdateCategory ( int categoryId ) : void

보호된 메소드들

메소드 설명
Page_Load ( object sender, EventArgs e ) : void

메소드 상세

GetCategories() 공개 메소드

public GetCategories ( [ minProductsCount ) : IQueryable
minProductsCount [
리턴 IQueryable

GetProducts() 공개 메소드

public GetProducts ( [ categoryId ) : IEnumerable
categoryId [
리턴 IEnumerable

Page_Load() 보호된 메소드

protected Page_Load ( object sender, EventArgs e ) : void
sender object
e EventArgs
리턴 void

UpdateCategory() 공개 메소드

public UpdateCategory ( int categoryId ) : void
categoryId int
리턴 void

프로퍼티 상세

Label1 보호되어 있는 프로퍼티

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
리턴 global::System.Web.UI.WebControls.Label

ValidationSummary1 보호되어 있는 프로퍼티

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
리턴 global::System.Web.UI.WebControls.ValidationSummary

categoriesGrid 보호되어 있는 프로퍼티

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
리턴 global::System.Web.UI.WebControls.GridView

minProductsCount 보호되어 있는 프로퍼티

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
리턴 global::System.Web.UI.WebControls.DropDownList

productsGrid 보호되어 있는 프로퍼티

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
리턴 global::System.Web.UI.WebControls.GridView