i want to generate report dynamically in the formate
select * from table where month=m and year =y
How to do this ?very urgent..please help me
do the same as you would with a datagrid view.
open a connection to the database,
create a new data adapter (sql statement, connection name),
fill your dataset with the dataadapter,
fill your dataview with the table from the dataset,
set the report source of the crystal report to your dataview
Comment