I have a question - there is an XML file I got from SQL request:
Code: Select all
DataTable dt = GetSomeDataTable();
foreach (DataRow dr in dt.Rows)
{
doc = new XmlDocument();
doc.LoadXml((string)dr["resxml"]);
ds = new DataSet();
ds.ReadXml(new XmlNodeReader(doc));
}
I tried something like:
Code: Select all
ds.Tables[0].TableName = "DataSource1";
report.DataSources.Clear();
report.RegData("DataSource1", ds.Tables[0]);
report.Dictionary.Synchronize();
Any Ideas?
Thank you.