Reputation: 481
How do i send 3 datatable to the StimulSoft report in winforms c#. I added dataset and 3 Datatable in StimulSoft report. I typed in app:
StiReport report = new StiReport();
string fileReport = "Report\\ReportTest.mrt";
string myfile = System.AppDomain.CurrentDomain.BaseDirectory + fileReport;
report.Load(myfile);
report.Compile();
report.RegData(dtDelay);
report.RegData(dtDesc);
report.RegData(dtPart);
report.Show();
Upvotes: 0
Views: 397
Reputation: 1
Please use my method in this post :
Customiz (or Create) a table(StiTable) at runtime in C# (.NET4)
You can call this method as many times as you want. Note that you can adjust the method and take the table name or view from code and make it dynamic , after it you can create as many tables as you want. Use the method before comlie() method.
Upvotes: -1