Add Datasource Manuel
Hello;
My question is simple.How to add datasource to project manuel? I dont want to configure from report.Example When I send a SQL query from my program to report,Report must undestand to datasource manuel.
I completed my reports with design with report designer.But I want to design with codes in C#.
My question is simple.How to add datasource to project manuel? I dont want to configure from report.Example When I send a SQL query from my program to report,Report must undestand to datasource manuel.
I completed my reports with design with report designer.But I want to design with codes in C#.
Comments
If your datasource comes from an application, it is better to register it in a report using the report.RegisterData(...) call.
Yes,I'm using report.RegisterData(...); But For this I must desing in project which dataset Register.My question is,I dont want to register any data in report.When I send a datasource to report,report designer recognize it automatically.And I only design which data can available.
Is this what you need?
Yep,but a problem about Datasets,
My Query Code is ;
Than For Report I'm using Your code example like that
But Now,I can see Only one row in the report,problem is about databind,how can report recognize Databind name from code,and I can see all of rows.
When you finish with the design, save report to a file. To run the report:
My Question is. How will be the datasource in designer file frx. It is giving me error on [Test.Name]. Test not foud. Please help. No proper documentation for fast reports.