diff --git a/Embedded .NET Engine Samples/Basic/Data Source Usage/RunReportSQL/RunReportSQL/RunReportSQL.cs b/Embedded .NET Engine Samples/Basic/Data Source Usage/RunReportSQL/RunReportSQL/RunReportSQL.cs index b58439b..6411571 100644 --- a/Embedded .NET Engine Samples/Basic/Data Source Usage/RunReportSQL/RunReportSQL/RunReportSQL.cs +++ b/Embedded .NET Engine Samples/Basic/Data Source Usage/RunReportSQL/RunReportSQL/RunReportSQL.cs @@ -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 diff --git a/Embedded .NET Engine Samples/Basic/Data Source Usage/RunReportSQL/Samples/Microsoft SQL Server - Template.docx b/Embedded .NET Engine Samples/Basic/Data Source Usage/RunReportSQL/Samples/Microsoft SQL Server - Template.docx index 24de313..70d6402 100644 Binary files a/Embedded .NET Engine Samples/Basic/Data Source Usage/RunReportSQL/Samples/Microsoft SQL Server - Template.docx and b/Embedded .NET Engine Samples/Basic/Data Source Usage/RunReportSQL/Samples/Microsoft SQL Server - Template.docx differ