C# 클래스 Dnn.Modules.Vendors.Banners

파일 보기 프로젝트 열기: DNNCommunity/DNN.Vendors

공개 프로퍼티들

프로퍼티 타입 설명
VendorID int

보호된 프로퍼티들

프로퍼티 타입 설명
cmdAdd global::System.Web.UI.WebControls.HyperLink
grdBanners global::System.Web.UI.WebControls.DataGrid

공개 메소드들

메소드 설명
DisplayDate ( DateTime DateValue ) : string

DisplayDate formats a Date

DisplayType ( int BannerTypeId ) : string

DisplayDate formats a Date

FormatURL ( string strKeyName, string strKeyValue ) : string

FormatURL correctly formats the Url (adding a key/Value pair)

보호된 메소드들

메소드 설명
OnLoad ( EventArgs e ) : void

Page_Load runs when the control is loaded

비공개 메소드들

메소드 설명
BindData ( ) : void

BindData gets the banners from the Database and binds them to the DataGrid

메소드 상세

DisplayDate() 공개 메소드

DisplayDate formats a Date
public DisplayDate ( DateTime DateValue ) : string
DateValue DateTime The Date to format
리턴 string

DisplayType() 공개 메소드

DisplayDate formats a Date
public DisplayType ( int BannerTypeId ) : string
BannerTypeId int
리턴 string

FormatURL() 공개 메소드

FormatURL correctly formats the Url (adding a key/Value pair)
public FormatURL ( string strKeyName, string strKeyValue ) : string
strKeyName string The name of the key to add
strKeyValue string The value to add
리턴 string

OnLoad() 보호된 메소드

Page_Load runs when the control is loaded
protected OnLoad ( EventArgs e ) : void
e EventArgs
리턴 void

프로퍼티 상세

VendorID 공개적으로 프로퍼티

public int VendorID
리턴 int

cmdAdd 보호되어 있는 프로퍼티

cmdAdd control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.HyperLink cmdAdd
리턴 global::System.Web.UI.WebControls.HyperLink

grdBanners 보호되어 있는 프로퍼티

grdBanners control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.DataGrid grdBanners
리턴 global::System.Web.UI.WebControls.DataGrid