C# Класс Dnn.Modules.Vendors.Banners

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
VendorID int

Защищенные свойства (Protected)

Свойство Тип Описание
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