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
Dataset Problem
Hello Ramon,
If you need register dataset in report by code you can use following code:
If you need register connection in report by code you can use following code:
Thank you.
If you need register dataset in report by code you can use following code:
Code: Select all
report.RegData("MyDataSet", dataSet);
Code: Select all
report.Dictionary.Databases.Clear();
report.Dictionary.Databases.Add(new StiSqlDatabase("MyConnection", "ConnectionString"));