Curreny format that is used in the portal
Namespace: DotNetNuke.Entities.PortalsAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
[XmlElementAttribute("currency")] public string Currency { get; set; } |
Visual Basic |
---|
<XmlElementAttribute("currency")> Public Property Currency As String Get Set |
Field Value
Currency of the portalReturn Value
Currency of the portal
Remarks
Examples
This exampels show the usage of the Currentcy property
![]() | |
---|---|
cboCurrency.DataSource = colList cboCurrency.DataBind() If Null.IsNull(objPortal.Currency) Or cboCurrency.Items.FindByValue(objPortal.Currency) Is Nothing Then cboCurrency.Items.FindByValue("USD").Selected = True Else cboCurrency.Items.FindByValue(objPortal.Currency).Selected = True End If |