Click here to Skip to main content
15,882,464 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

Can anyone tell me how to bind data to report viewer without using datasource and dataset???ie i have radgrid and i want to display that in reportviewer or i want to directly get data from database...
Im new to reportviewer..so please do help me to solve this problem..


Thank You
Posted
Comments
Sinisa Hajnal 24-Aug-15 6:22am    
Why don't you want to set datasource? It is how the control works, why work around it?
Member 11148509 24-Aug-15 6:53am    
I'm using utilityhelper its better option for me to write directly rather than using datasource....
Sinisa Hajnal 25-Aug-15 2:41am    
It would really have to be some helper for you to ignore the standard way - best practice is to use standard way of doing things for readability, ease of maintenance and easier handling off to new developers.

You'll have to read the documentation on your particular helper and how to use it.

Maybe if you post full namespace of the utility someone might be able to help you. If that is something developed in-house for your needs only, you're out of luck.
Member 11148509 25-Aug-15 4:28am    
Ya but i don't have any idea about that to post something..i just posted so that i can get any idea and work on that ..

Sinisa Hajnal 25-Aug-15 5:52am    
Microsoft
https://msdn.microsoft.com/en-us/library/ms252073.aspx
You can set the radgrid datasource to report datasource

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900