displaying database query result in reports
-
hello... i have a datagrid view which takes a query from the database and displayes some data. not is it possible to display the same datagridview contents in a report... ??? thankyou...
-
hello... i have a datagrid view which takes a query from the database and displayes some data. not is it possible to display the same datagridview contents in a report... ??? thankyou...
max.4u wrote:
i have a datagrid view which takes a query from the database and displayes some data
Does your datagrid have a datatable as a datasource?
max.4u wrote:
is it possible to display the same datagridview contents in a report
If it does, you can use that datatable (or dataset) as a source for Reporting Services or Crystal Reports
The need to optimize rises from a bad design.My articles[^]
-
max.4u wrote:
i have a datagrid view which takes a query from the database and displayes some data
Does your datagrid have a datatable as a datasource?
max.4u wrote:
is it possible to display the same datagridview contents in a report
If it does, you can use that datatable (or dataset) as a source for Reporting Services or Crystal Reports
The need to optimize rises from a bad design.My articles[^]
my datagridview has a dataset. i tried by adding the dataset to the crystal reports from the wizard and its showing the data in the dataset. but all i need is that my dataset is having a query which shows only a part of the data rather than all the data in the database. so i need a way to call the query from the dataset.. thankyou..