I use the StiWpfDesignerControl and StiReport like this:
Code: Select all
StiReport report = new StiReport();
report.RegData("DTData", this.GetDataTable());
StiWpfDesignerControl sti = new StiWpfDesignerControl(report);
Root.Children.Add(sti);
I can't see my registration data columns.
But, if I use them like this in the following code:
Code: Select all
StiReport report = new StiReport();
report.RegData("CSVData", this.LoadCSV());
report.DesignWithWpf();
I use the StiWpfDesignerControl in the wrong way?