H
Hendrik
Hi all,
I think I have a rather challenging issue here, which I have not found
the best solution so far.
Here it is, I have a stored procedure which obtain a table of records.
These records must be the data source for a OWC Pivot Table on a
ASP.NET page.
I have tried the workaround of converting the resulting dataset to
recordset to XMLData to get the data to OWC Pivot Table.
Now, I have an XML Web Service which returns the same table of records.
Is it possible for me to set the datasource of my OWC Pivot Table to
the result of the query to this XML Web Service?
If not, what is the current best practise to load a table of records
from a stored procedure to OWC Pivot Table?
I have several scenarios here, but not sure which one to implement.
1. Set the CommandText of PivotTable to an .aspx page which streams out
XML file. This XML file is obtained from converting dataset to
recordset to XMLData.
2. Save the XML file and point XMLData and CommandText of PivotTable to
this XML file.
3. Set the datasource to the recordset, from dataset, to
PivotTableClass object, obtain the XMLData, and assign the resulting
string to a hidden <input> field in the .aspx, and on <body> load
assign this string to the PivotTable object's XMLData. (i tried this
one, but no data comes out, only schema)
4. Point the PivotTable to an XML Web Service? (possible?)
Sorry for the lengthy post, and Thanks a lot for all the help
Regards,
Hendrik (hendrikch-at-gmail-dot-com)
I think I have a rather challenging issue here, which I have not found
the best solution so far.
Here it is, I have a stored procedure which obtain a table of records.
These records must be the data source for a OWC Pivot Table on a
ASP.NET page.
I have tried the workaround of converting the resulting dataset to
recordset to XMLData to get the data to OWC Pivot Table.
Now, I have an XML Web Service which returns the same table of records.
Is it possible for me to set the datasource of my OWC Pivot Table to
the result of the query to this XML Web Service?
If not, what is the current best practise to load a table of records
from a stored procedure to OWC Pivot Table?
I have several scenarios here, but not sure which one to implement.
1. Set the CommandText of PivotTable to an .aspx page which streams out
XML file. This XML file is obtained from converting dataset to
recordset to XMLData.
2. Save the XML file and point XMLData and CommandText of PivotTable to
this XML file.
3. Set the datasource to the recordset, from dataset, to
PivotTableClass object, obtain the XMLData, and assign the resulting
string to a hidden <input> field in the .aspx, and on <body> load
assign this string to the PivotTable object's XMLData. (i tried this
one, but no data comes out, only schema)
4. Point the PivotTable to an XML Web Service? (possible?)
Sorry for the lengthy post, and Thanks a lot for all the help
Regards,
Hendrik (hendrikch-at-gmail-dot-com)