Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dynamic report in cristal reports

Status
Not open for further replies.

olomich

Programmer
Nov 28, 2005
2
PL
hello,

I'm using vs.net 2003 and C#. I would like to create a report and than programmicaly change the criteria of the sql statement in runtime. How could I do it?
I know that this is quite straightforward but I only came accross some articles and tutorials that advise to do sth. like this:

DataSet ds = new DataSet();

dataAdapter.Fill(ds);

Empty_cr report = new Empty_cr();
report.SetDataSource( ds);
crDataViewer.ReportSource = report;

It does not work!!!

Mayby someone has an idea and will be willing to help me.

Help!!! Please!!! It can realy simplify my life.

Regards:
Olg
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top