Click here to Skip to main content
15,885,366 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
HOW to create a report using report viewer in C# in Windows From application using JOIN two or more tables from sqlserver database.
Posted
Comments
Sinisa Hajnal 23-Mar-15 7:12am    
What do you need to do? If you need the data from two tables and single dataset as report datasource, then yes, that is right way. If you need something else please explain better. Thank you.
Ujjval Shukla 24-Mar-15 7:19am    
Sinisa i want to join two tables on single dataset as report datasource,kindly exlpain the process.Thank You.
Sinisa Hajnal 24-Mar-15 7:25am    
If you don't know basics of SQL, please take some time to learn that before going forward with reporting. Essentially all reports will look into more then one table especially if the database is fairly normalized.
Nathan Minier 23-Mar-15 7:24am    
The easiest way (without knowing your data access schema) would be to create a Stored Procedure that executes the JOIN, and use that stored procedure as your datasource.
Ujjval Shukla 1-Jun-15 3:17am    
I have solved it myself..

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