Izenda, LLC

Ad Hoc Reports & Dashboards for ASP.NET Apps

Free Trial

Izenda Reports is licensed on a "per user" or "per server" basis. Please complete this form to receive a price quote.

All fields are required.

The live demo demonstrates Izenda reports with the Northwind Sample database. To login, please register below.

All fields are required.

You can download a full time-limited trial version here. Or, email a CSV file to data@izenda.com and our sales team will create several complementary reports on our demo environment.

All fields are required.

How do I dynamically set the connection string?

Expand / Collapse
 

How do I dynamically set the connection string?


To dynamically set the connection string for each login, call the PostLogin() method from your login page and create methods which return the username and the database connection string depending upon the particular user.

public override void PostLogin()
{
// Call Izenda.AdHoc.AdHocSettngs.AdHocConfig.PostLogin() from your login page after authentication is successful
            
AdHocSettings.CurrentUserName = GetUserName();  
AdHocSettings.SqlServerConnectionString = GetConnectionStringByUser(AdHocSettings.CurrentUserName); 
}

Please see the security section for more details.



Details
Type: FAQ
Options