Load the Web Designer with default Connection and few Data Sources
Posted: Mon Jul 06, 2009 8:13 pm
Hi Team,
I tried to load the web designer with default connection and few data sources loaded. But it is not working.
private void LoadTheDesigner()
{
StiReport report = new StiReport();
SqlConnection sqlConn = new SqlConnection(ConfigurationManager.ConnectionStrings["DB"].ConnectionString);
sqlConn.Open();
report.RegData("EntireSystem", sqlConn);
report.Dictionary.Synchronize();
report.Dictionary.Connect();
StiWebDesigner1.Design(report);
}
after loading up into the browser I cant see any connection in dictionary. Please help me. I did the same thing in win designer, and that works perfectly.
I tried to load the web designer with default connection and few data sources loaded. But it is not working.
private void LoadTheDesigner()
{
StiReport report = new StiReport();
SqlConnection sqlConn = new SqlConnection(ConfigurationManager.ConnectionStrings["DB"].ConnectionString);
sqlConn.Open();
report.RegData("EntireSystem", sqlConn);
report.Dictionary.Synchronize();
report.Dictionary.Connect();
StiWebDesigner1.Design(report);
}
after loading up into the browser I cant see any connection in dictionary. Please help me. I did the same thing in win designer, and that works perfectly.