i have sales system that has two shifts(day and night) i need to display records in ReportViewer filtered by shift to calculate sales of each shift At Spesific Day(am using datetimepicker to select dates and comboBox to select the shift).
I Have Tried This :
- private void shiftcomboBox_SelectedIndexChanged(object sender,EventArgse)
- {
- this.sellsTableAdapter.FillBy1(this.kafDataSet4.sells, Convert.ToDateTime(dateTimePicker1.Value.ToShortDateString()), Convert.ToDateTime(dateTimePicker2.Value.ToShortDateString()), Convert.ToString(comboBox1.SelectedItem)); this.reportViewer1.RefreshReport();
- }
Laxmidhar SahooPosted Oct 1, 2018, 5:19 AM