How to refresh the dataset while editing StiDesigner
Posted: Sun May 04, 2008 10:40 pm
Hi,
i create the report using your designer and then remove some fields from dataset
and then again set the dataset to stireport like following:-
_Report.RegData("Data", dataSet)
_Report.Dictionary.Synchronize()
and then load existing layout using following code:
_Report.LoadFromString(_reportLayout.RLALayout)
but the dataset is not become refresh. Here Refresh means in _reportLayout.RLALayout has 5 fields in their xml but now in actual dataset has a 3 fields but the designer shows the 5 fields but i want to show the exact dataset that is 3 fields.
Thanks in Advance,
i create the report using your designer and then remove some fields from dataset
and then again set the dataset to stireport like following:-
_Report.RegData("Data", dataSet)
_Report.Dictionary.Synchronize()
and then load existing layout using following code:
_Report.LoadFromString(_reportLayout.RLALayout)
but the dataset is not become refresh. Here Refresh means in _reportLayout.RLALayout has 5 fields in their xml but now in actual dataset has a 3 fields but the designer shows the 5 fields but i want to show the exact dataset that is 3 fields.
Thanks in Advance,