Hello All,
Am working on hotel management, am new to vb.net. am using visual studio 2010.
i want to create a report the displays the roomtype and its number of rooms for that particular room type.
First if the user didnt select the roomtype i want to display all room type and number of rooms in that room types and when the user chooses particular roomtype i want to display only the selected roomtype and its no of rooms in the crystal report.
i created the crystal report and added datafields and just had the code as follows
rep.Load("rpt")
CrystalReportViewer1.Visible = True
CrystalReportViewer1.ReportSource = rep its working fine but i dont know how to set conditions.Please help.Its urgent