Access Profile Provider property values in ASPX files
- by AsM
We have several companies using one web application. Companies may decide to display different values in Labels.
e.g.
CompanyA - ZipCodeCaption = "Zip Code"
CompanyB - ZipCodeCaption = "Pin Code"
CompanyA - USDSymbolCaption = "USD"
CompanyB - USDSymbolCaption = "$"
We are using profile provider to store each company's settings. We would like to access these profile values in ASPX to assign values to Label's text properties just like Web Config app settings are accessed in aspx.
e.g. "
Is this possible? Is there a better way to go about doing this?