protected void uiLinkButtonDeliveryOrdersPeriod_Click(object sender, EventArgs e)
        {
            uiReportViewerMain.Reset();
            uiReportViewerMain.LocalReport.ReportPath = BaseReportPath + "Report_GetDeliveryOrdersDetailsTotalsWithinPeriod.rdlc";
            IStock.BLL.DeliveryOrder DeliveryOrder = new IStock.BLL.DeliveryOrder();

            DateTime? From = null, To = null;
            if (!string.IsNullOrEmpty(uiTextBoxFrom.Text))
                From = DateTime.ParseExact(uiTextBoxFrom.Text, "dd/MM/yyyy", null);
            if (!string.IsNullOrEmpty(uiTextBoxTo.Text))
                To = DateTime.ParseExact(uiTextBoxTo.Text, "dd/MM/yyyy", null);

            DeliveryOrder.Report_GetDeliveryOrdersDetailsTotalsWithinPeriod(From, To);

            uiReportViewerMain.LocalReport.DataSources.Clear();
            uiReportViewerMain.LocalReport.DataSources.Add(new ReportDataSource("Report_GetDeliveryOrdersDetailsTotalsWithinPeriodDataSet", DeliveryOrder.DefaultView));
            uiReportViewerMain.LocalReport.SetParameters(new ReportParameter("From", uiTextBoxFrom.Text));
            uiReportViewerMain.LocalReport.SetParameters(new ReportParameter("To", uiTextBoxTo.Text));
            uiReportViewerMain.LocalReport.Refresh();
        }