How to send data grid view by parameters in C#?
Posted: Sat Apr 14, 2018 1:48 pm
Hello, I have data grid view and I want to report for all records in every single distinct page and one dialog. I have written the code below but it shows me StimulSoft dialog per records and don't paginate for me. How can I do that ?
Code: Select all
foreach (DataGridViewRow tableRow in dataTable.Rows)
{
string ShomareVahed = tableRow.Cells[0].Value.ToString();
StiReport report = new StiReport();
report.Load("Report.mrt");
report.Compile();
report["ShomareVahed"] = ShomareVahed;
report.Show();
}