how to load tables when starting application
Posted: Fri Dec 18, 2020 10:41 pm
Hi guys, i'm learning to use stimulsoft, an information that i didn't quite understand, it was like loading the tables of a postgreeSQL connection. In other words, when starting the application it fetches from the database all the tables with their columns and having autorefresh. My application is ASP NET CORE. (My english not is so good)
//My code
public IActionResult GetReport()
{
StiReport report = new StiReport();
report.Dictionary.Databases.Add(new StiPostgreSQLDatabase("TMS", "User Id = user; Password = password; Host = localhost; Database = tms"));
return StiNetCoreDesigner.GetReportResult(this, report);
}
//My code
public IActionResult GetReport()
{
StiReport report = new StiReport();
report.Dictionary.Databases.Add(new StiPostgreSQLDatabase("TMS", "User Id = user; Password = password; Host = localhost; Database = tms"));
return StiNetCoreDesigner.GetReportResult(this, report);
}