hi,,,
i am new to stimul report.....i have desigend the form in the report and have used the controls provided in the report....
But can somebody tell me how to call the form from my application???
i am using C# and windows application........
Urgent help....
Thanks
How to call form designed in report???
How to call form designed in report???
To Simply show the report you can do this
If the Data for your report is not coming from an Sql Datasource then you can register your own data before called Show()
Code: Select all
StiReport report = new StiReport();
report.Load("C:\\PathToMyReport.mrt"); //Specify Path of Report you Designed/saved
report.Show();
If the Data for your report is not coming from an Sql Datasource then you can register your own data before called Show()
Code: Select all
report.RegData(myDataSet);
How to call form designed in report???
what if the data is from DATATABLE?????.....
How to call form designed in report???
You use the same method call
Code: Select all
report.RegData(myDataTable);
or
report.RegData("Customers", myCustomerTable);