how to create crystal report using datagridview values without using database in C#?

i have form that has datagridview and 2 datetimepicker
when the user select the start date and end date using the datetimepicker so the data will be shown in datagridview
so i wanna print all the results from the datagirdview using crystal report
i hope any help
__________________
.NetFrameWork4.0
VisualStudio 2010

Recommended Answers

All 2 Replies

You can pass values to a Crystal Report via parameters.

But one of the best features (I find, anyway) of CR is the ability to work with databases. This saves a lot of the overhead involved in sending large amounts of data via parameters. Also, Details sections fill with all the values dynamically - saving a lot of custom layout programming. What datasource is the gridview bound to (if any)? Could a cleverly devised select statement work instead?

hi..

As skatamatic said the best way we can go with database handling...or dataset would help you....

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.