Way to load data between dates in report viewer in C#
问题 I am trying to get data between two dates in a report viewer control in windows forms. Filtering report data, so I modified the dataset using parameters to select SN,invoice_date,product_code........ where invoice_date >= @date1 and invoice_date <= @date2 I tried this also select SN,invoice_date,product_code........ where invoice_date between @date1 and @date2 But the query is not returing any data, the datatype I used in SQL Server is date, and I changed the properties of the dataset @date1