Calling a Decrypt function within a class from a Data Binding expr
(First off this in a hosted environment which I can export a key generated
by aspnet_regiis so I'm resorting to this.)
I have a class named crypto which contains a function called Decrypt. My
code before I encrypted my connectionString was as follows:
<asp:SqlDataSource ID="SqlDataSourceSQLB1" runat="server"
ConnectionString="<%$ ConnectionStrings:dbConnectionString %>)"
[Description], [NavigateUrl], [id] FROM [NSV_Web_WhatsNew]">
I need to take the what ConnectionStrings:dbConnectionString returns above
and pass it to Crypto.Decrypt()
I know this isn't correct but something like:
ConnectionString = <%#Crypto.Decrypt(<%$ConnectionStrings:dbConnectio nString
Is there anyway to do this?
email@example.com.<Remove This Before Emailing>
Network & Software Integration
"Helping put the pieces of your IT puzzle together"
|All times are GMT. The time now is 08:12 PM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.