C# Class Dnn.Modules.Vendors.Affiliates

Datei anzeigen Open project: DNNCommunity/DNN.Vendors

Public Properties

Property Type Description
VendorID int

Protected Properties

Property Type Description
cmdAdd global::System.Web.UI.WebControls.HyperLink
grdAffiliates global::System.Web.UI.WebControls.DataGrid

Public Methods

Method Description
DisplayDate ( DateTime DateValue ) : string

DisplayDate formats a Date

FormatURL ( string strKeyName, string strKeyValue ) : string

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

Protected Methods

Method Description
OnInit ( EventArgs e ) : void
OnLoad ( EventArgs e ) : void

Page_Load runs when the control is loaded

Private Methods

Method Description
BindData ( ) : void

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

InitializeComponent ( ) : void

Method Details

DisplayDate() public method

DisplayDate formats a Date
public DisplayDate ( DateTime DateValue ) : string
DateValue DateTime
return string

FormatURL() public method

FormatURL correctly formats the Url (adding a key/Value pair)
public FormatURL ( string strKeyName, string strKeyValue ) : string
strKeyName string
strKeyValue string
return string

OnInit() protected method

protected OnInit ( EventArgs e ) : void
e EventArgs
return void

OnLoad() protected method

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

Property Details

VendorID public_oe property

public int VendorID
return 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
return global::System.Web.UI.WebControls.HyperLink

grdAffiliates protected_oe property

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