[]
Occurs when the report needs to obtain data source credentials from the calling application.
public event LocateCredentialsEventHandler LocateCredentials
Type | Description |
---|---|
LocateCredentialsEventHandler | Occurs when the report needs to obtain data source credentials from the calling application. |
PageReport pageReport = new PageReport(reportFilePath);
pageReport.Document.LocateCredentials += (sender, args) =>
{
if (args.DataSource.Name == "TestDB")
{
args.UserName = "qatester";
args.Password = "qatesting";
}
};