Get Report DataSource and Relations from frx after saved
In normal case everything is good,But if user in designer form, add new connection and add new data source that not exists in my first dataset,
after saved ".frx" file, In next time when i load that changed ".frx" file,I am getting this error:
"Table is not connected to the data. Register the data using Report.RegisterData method."
Because i don't know which data source was added by user.
I have to do read ".frx" file as XML, and create datasouce from TableDataSource tag attributes.
Is there a simpler way for Get Report DataSource and Relations details after saved by user and registerd them comfortable in RegisterData method?
after saved ".frx" file, In next time when i load that changed ".frx" file,I am getting this error:
"Table is not connected to the data. Register the data using Report.RegisterData method."
Because i don't know which data source was added by user.
I have to do read ".frx" file as XML, and create datasouce from TableDataSource tag attributes.
Is there a simpler way for Get Report DataSource and Relations details after saved by user and registerd them comfortable in RegisterData method?