Question

afshin000 on Wed, 15 Mar 2017 15:41:43


hi

i know it is possible someone else ask this before but i couldn't find my solution.

i'll be so grateful if show me how.

i have a C# windows form application that i want to create a report of data stored in data base , and report must be generated in run time.

i tried crystal report and face with some huge problems and reportviewer of Vs2010 and face same problem with this one too.

so i need help to what i do is better.

thank you so much


Sponsored



Replies

Sabah Shariq on Wed, 15 Mar 2017 15:46:47


Hi afshin000,

>> i tried crystal report and face with some huge problems and reportviewer of Vs2010 and face same problem with this one too.

Could you please tell what issue you are facing? This will help us to give you appropriate solution.

afshin000 on Wed, 15 Mar 2017 17:20:35


as i said i want data that reported generated dynamically at run time and as user commands.

but with crystal report i only could shod reports with data with queries in the code .

and i try so hard and have no success to what i want.

Eswar Duvvu on Wed, 15 Mar 2017 22:25:24


as i said i want data that reported generated dynamically at run time and as user commands.

but with crystal report i only could shod reports with data with queries in the code .

and i try so hard and have no success to what i want.

Could you please elaborate.

i think you must be looking to pass user input to the report to get the dynamic data. 

One approach is to use Typed Datasets as the datasource for the report while designing it and then load data into the dataset dynamically before binding it to the report at runtime. 

Thanks

Eswar

afshin000 on Thu, 16 Mar 2017 05:46:49


i design a report (so simple) with wizard. and then in my code i use "setdatasource" method to show what i want. data source is a object data table whit in data retrieve from database through query.

when i run this i faced a run-time error!

Eswar Duvvu on Fri, 17 Mar 2017 07:10:40


i design a report (so simple) with wizard. and then in my code i use "setdatasource" method to show what i want. data source is a object data table whit in data retrieve from database through query.

when i run this i faced a run-time error!

Please provide the code / stacktrace of the exception.