C# Class Dnn.Modules.Vendors.Banners

Afficher le fichier Open project: DNNCommunity/DNN.Vendors

Méthodes publiques

Свойство Type Description
VendorID int

Protected Properties

Свойство Type Description
cmdAdd global::System.Web.UI.WebControls.HyperLink
grdBanners global::System.Web.UI.WebControls.DataGrid

Méthodes publiques

Méthode Description
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)

Méthodes protégées

Méthode Description
OnLoad ( EventArgs e ) : void

Page_Load runs when the control is loaded

Private Methods

Méthode Description
BindData ( ) : void

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

Method Details

DisplayDate() public méthode

DisplayDate formats a Date
public DisplayDate ( DateTime DateValue ) : string
DateValue DateTime The Date to format
Résultat string

DisplayType() public méthode

DisplayDate formats a Date
public DisplayType ( int BannerTypeId ) : string
BannerTypeId int
Résultat string

FormatURL() public méthode

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
Résultat string

OnLoad() protected méthode

Page_Load runs when the control is loaded
protected OnLoad ( EventArgs e ) : void
e EventArgs
Résultat void

Property Details

VendorID public_oe property

public int VendorID
Résultat int

cmdAdd protected_oe property

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

grdBanners protected_oe property

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