Hi,
Ok, this i did before, but how do I now create the table into my loaded CR ?
My current Source :
DataSet ds = new DataSet("Sells");
ReportDocument rd = new ReportDocument();
rd.Load("F:\\crRechnung.rpt"); //my CR
rd.SetDataSource(ds);
I now need a way to say something like this :
rd.Section1.addtable(name "table1", coloums 3, rows 4);
rd.Section1.table1.rows[0].coloums[0].text = "Cell 0,0";
Please help me... thx
Fabian
"Ignacio Machin ( .NET/ C# MVP )" wrote:
Hi,
Just create the dataset as usual, then create a new instance of your report
( CR create a class with the same name of the report ) and then use
SetDataSource( dataset ) to assign your dataset to it.
cheers,
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Fabian" <Fa****@discussions.microsoft.com> wrote in message
news:80**********************************@microsof t.com... Hi,
i need to get an example, to create a Table in my Crystal Report only by
having a Dataset. Can someone give me an small example please.
Thx for help
regards
Fabian