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

상속: DotNetNuke.Entities.Modules.PortalModuleBase, IActionable
파일 보기 프로젝트 열기: DNNCommunity/DNN.Vendors

보호된 프로퍼티들

프로퍼티 타입 설명
lstBanners global::System.Web.UI.WebControls.DataList

공개 메소드들

메소드 설명
FormatItem ( int VendorId, int BannerId, int BannerTypeId, string BannerName, string ImageFile, string Description, string URL, int Width, int Height ) : string

보호된 메소드들

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

The Page_Load event handler on this User Control is used to obtain a DataReader of banner information from the Banners table, and then databind the results to a templated DataList server control. It uses the DotNetNuke.BannerDB() data component to encapsulate all data functionality.

메소드 상세

FormatItem() 공개 메소드

public FormatItem ( int VendorId, int BannerId, int BannerTypeId, string BannerName, string ImageFile, string Description, string URL, int Width, int Height ) : string
VendorId int
BannerId int
BannerTypeId int
BannerName string
ImageFile string
Description string
URL string
Width int
Height int
리턴 string

OnLoad() 보호된 메소드

The Page_Load event handler on this User Control is used to obtain a DataReader of banner information from the Banners table, and then databind the results to a templated DataList server control. It uses the DotNetNuke.BannerDB() data component to encapsulate all data functionality.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs
리턴 void

프로퍼티 상세

lstBanners 보호되어 있는 프로퍼티

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