Curreny format that is used in the portal

Namespace: DotNetNuke.Entities.Portals
Assembly: 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 portal

Return Value

Currency of the portal

Remarks

Examples

This exampels show the usage of the Currentcy property
 Copy imageCopy Code
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

See Also