private void refreshBtn_Click(object sender, EventArgs e)
        {
            var stocList = Stoc.GetAllGroupedByProdus().Where(p => p.Cantitate < p.ProdusObject.StocMinim);
            var report   = new StocReport();

            report.objectDataSource.DataSource = stocList;
            reportViewer.Report = report;
            reportViewer.RefreshReport();
        }
Пример #2
0
 public void GetAllStocGroupedByProdus()
 {
     var list = Stoc.GetAllGroupedByProdus();
 }