Click here to Skip to main content
15,896,410 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi guys

Have a dateTimePicker and a report viewer...I need to populate report viewer according to selected date. how can i do that with dataset?
Posted
Comments
Arun Kumar K S 25-Sep-11 2:59am    
Is it CrysrtalreportViewer or MicrosftReportViewer?
Anele Ngqandu 25-Sep-11 3:07am    
Microsoft sir

You can use the date selected as parameter and filter the dataset and eventually attach it to the report data source. http://msdn.microsoft.com/en-us/library/ms152917.aspx[^]
 
Share this answer
 
You can pass the parameter to report view. You can study in ^^^ this link.

Hope be helpful,
Theingi Win
 
Share this answer
 
you can filter the dataset according to the date
 
Share this answer
 
 
Share this answer
 
v2
SQL
report1.FileName = Server.MapPath("~/Reports/CaseSheetReport.rpt");
                    report1.RecordSelectionFormula =Convert.ToString(Session["SelectionFormula"]);
 
Share this answer
 

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