Load Report as string and Rebind in asp.net
Posted: Fri Feb 17, 2017 5:15 am
Hi All,
I am using reports.web, i am able to save the reports as string as XML and then save it in Database. But when i try to rebind from database i am getting some error. can you please let me know what needs to be done or what i am missing.
Note: I am using Asp.Net and not MVC.
Sample code:
string _jSonText = GetData(); // Retrieves as XML from database
StiReport strReport = new StiReport();
DataSet ds = new DataSet();
ds.ReadXml(xmlValue); // Invalid URI: The Uri scheme is too long.
strReport.RegData(ds);
Thanks in advance
Hitesh S.
I am using reports.web, i am able to save the reports as string as XML and then save it in Database. But when i try to rebind from database i am getting some error. can you please let me know what needs to be done or what i am missing.
Note: I am using Asp.Net and not MVC.
Sample code:
string _jSonText = GetData(); // Retrieves as XML from database
StiReport strReport = new StiReport();
DataSet ds = new DataSet();
ds.ReadXml(xmlValue); // Invalid URI: The Uri scheme is too long.
strReport.RegData(ds);
Thanks in advance
Hitesh S.