What I want to do is pull a field from SQL that contains XML, parse that XML into a class, then use that as my object data source.
I have sqlDataSource1 that will get the text (XML) field from the DB using my ReportParameter (so it only gets 1 record).
I also have objectDataSource1 that will display the data from my class.
Right now objectDataSource 1 is the Report's datasource.
I also have a NeedDataSource event trigger on the report.
The question is "Can I have the event trigger tell the sqlDataSource1 to go get the data, parse it, then feed it to objectDataSource1 to display on the report?"
This sample shows how to read in an xml file, parse it, then feed it to data source to display. So I imagine I should be able to do it. Does someone do the same thing? Am I going about it the hard way?
I have sqlDataSource1 that will get the text (XML) field from the DB using my ReportParameter (so it only gets 1 record).
I also have objectDataSource1 that will display the data from my class.
Right now objectDataSource 1 is the Report's datasource.
I also have a NeedDataSource event trigger on the report.
The question is "Can I have the event trigger tell the sqlDataSource1 to go get the data, parse it, then feed it to objectDataSource1 to display on the report?"
This sample shows how to read in an xml file, parse it, then feed it to data source to display. So I imagine I should be able to do it. Does someone do the same thing? Am I going about it the hard way?