I have a problem with one of my pages. I need to get the key value from my web.config file as a âprefixâ, and concatenate the one with the string. Then assign the resulting string to âmyTableâ attribute of the control. Iâve tried different approaches, but no lack. I am missing something.
This is the ORIGINAL controls' code:
<cc1:BaseRadioButtonList ID="rblUserRegisterationType" runat="server" myAutoBind="True"
myBoundField="Type" myTable="vUserRegisterationType" myFieldSet="TextField,ValueField"
myOrder="TextField" DataTextField="TextField" DataValueField="ValueField" myShowSelectFromList="True"
RepeatColumns="2" RepeatDirection="Horizontal" OnSelectedIndexChanged="rblUserRegisterationType_OnSelectedIndexChanged"
AutoPostBack="true" myFilter="" Visible="false">
I was trying to get the key value from the web.config file like this, and concatenate the one with an existing myTable
, where in the web.config line is:
<add key="LinkedServerHtmlPrefix" value="[FWC-VMSD1].[FWC_Users].[dbo]." />
I need to make my final attribute âmyTable
â looking like this:
: how concatenate the string from the web.config and current âvUserRegisterationTypeâ?
Any help will be appreciated.