0
Answer

CrystalReport's Section Doesn't have property of AddTextObje

Note: I am using CR13 with VS 2010.

I am creating winform app.I want to create report dynamically,

I got reference of one of link in which the guy had created report dynamically:http://www.xtremevbtalk.com/archive/index.php/t-248952.html?

I want same thing but i couldn't.I have create my report's instance as

 EmployeeReport empRpt = new EmployeeReport();

 then want to add TextObject as like

 empRpt.section3.AddTextObject("Print Date: ", 0, 890).

But VS2010 gives me error that:

Error 16 'CrystalDecisions.CrystalReports.Engine.Section' does not contain a definition for 'AddTextObject' and no extension method 'AddTextObject' accepting a first argument of type 'CrystalDecisions.CrystalReports.Engine.Section' could be found (are you missing a using directive or an assembly reference?

Any suggestion???Thanks in advance.