Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ static void Main(string[] args) {
// Create report process
Report myReport = new ReportPdf(template, output);

string strConn = "Data Source=mssql.windward.net;Initial Catalog=Northwind;User ID=demo;Password=demo";
string strConn = "Data Source=mssql.windward.net;Initial Catalog=Northwind;User ID=demo;Password=demo;TrustServerCertificate=True";

// SQL data source
using (AdoDataSourceImpl adoDatasource = new AdoDataSourceImpl("System.Data.SqlClient", strConn)) {
using (AdoDataSourceImpl adoDatasource = new AdoDataSourceImpl("Microsoft.Data.SqlClient", strConn)) {
//run the report process
myReport.ProcessSetup();
//the second parameter is the name of the data source
Expand Down
Binary file not shown.
Loading