Page 1 of 1
Dataset Problem
Posted: Thu Jun 19, 2008 11:34 am
by ramond
I am suddenly idiot, I have designed the form and works correctly until attempt to parsar the data of the connection and dataset to him by code. Somebody can help me with an example to create dataset for the report.
Thanks.
Ramon
Dataset Problem
Posted: Sun Jun 22, 2008 3:04 am
by Vital
Hello Ramon,
If you need register dataset in report by code you can use following code:
Code: Select all
report.RegData("MyDataSet", dataSet);
If you need register connection in report by code you can use following code:
Code: Select all
report.Dictionary.Databases.Clear();
report.Dictionary.Databases.Add(new StiSqlDatabase("MyConnection", "ConnectionString"));
Thank you.