Access Profile Provider property values in ASPX files
Posted
by AsM
on Stack Overflow
See other posts from Stack Overflow
or by AsM
Published on 2010-04-07T09:38:54Z
Indexed on
2010/04/07
9:43 UTC
Read the original article
Hit count: 261
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?
© Stack Overflow or respective owner