Page 1 of 1

How to show my report by linq that i create with Stimulsoft Report?

Posted: Thu Jul 02, 2026 7:14 am
by mauricetack
Hello,
I’m using Stimulsoft reports in a C# Windows Forms application.

Here’s my code:

Code: Select all

private void btn_reportPrint_Click(object sender, EventArgs e)
{
    DataClasses1DataContext db = new DataClasses1DataContext();
    stiReport1.Load("Report.mrt");
    stiReport1.RegData("DataSource1", db);
    stiReport1.Show();
}
When I click the reportPrint button, nothing happens and the application freezes. I’m using Linq to SQL to load the data for my report, and I need to display the report properly.

Re: How to show my report by linq that i create with Stimulsoft Report?

Posted: Thu Jul 02, 2026 7:25 am
by Lech Kulikowski
Hello,

Please check the samples at the following link:
https://github.com/stimulsoft/Samples-R ... r-WinForms

Thank you.