Hi,
I create templates using wizard. for that i wrote following,
StiReport obj = new StiReport();
obj.Load("C:\\Documents and Settings\\jayakumar\\Desktop\\Template123.mrt");
Stimulsoft.Report.Design.Wizards.StiMasterDetailWizardService wizard = new Stimulsoft.Report.Design.Wizards.StiMasterDetailWizardService();
Stimulsoft.Report.StiReport rptNew = wizard.CreateReport(obj);
if(rptNew!=null)
{
rptNew.Design();
}
Template123.mrt file have a database name like "XYZ". but it doesn't display in Wizard. it shows like "Data From Sql Connection" instead of "XYZ".
How to Show the Database Name in Wizard ???
Please Provide the Solution...
Thanks in Advance,
Jayakumar
How to Display DataBase Name in Master Detail Wizard ???
-
- Posts: 85
- Joined: Sat Jan 20, 2007 4:21 am
How to Display DataBase Name in Master Detail Wizard ???
Please add the following methodjayakumargr wrote:Hi,
I create templates using wizard. for that i wrote following,
StiReport obj = new StiReport();
obj.Load("C:\\Documents and Settings\\jayakumar\\Desktop\\Template123.mrt");
Stimulsoft.Report.Design.Wizards.StiMasterDetailWizardService wizard = new Stimulsoft.Report.Design.Wizards.StiMasterDetailWizardService();
Stimulsoft.Report.StiReport rptNew = wizard.CreateReport(obj);
if(rptNew!=null)
{
rptNew.Design();
}
Template123.mrt file have a database name like "XYZ". but it doesn't display in Wizard. it shows like "Data From Sql Connection" instead of "XYZ".
How to Show the Database Name in Wizard ???
Code: Select all
obj.Dictionary.Synchronize();
Code: Select all
obj.Load("C:\\Documents and Settings\\jayakumar\\Desktop\\Template123.mrt");
obj.Dictionary.Synchronize();
Stimulsoft.Report.Design.Wizards.StiMasterDetailWizardService wizard = new Stimulsoft.Report.Design.Wizards.StiMasterDetailWizardService();