private void LoadReport(List <RPT_DistributedKashLandEntity> list, RPT_DistributedKashLandEntity entity)
        {
            string ReportSource = "../RDLC/RPT_DivisionWiseDistributedKashLand.rdlc";

            try
            {
                ReportViewer1.ClearData();
                this.ReportViewer1.ReportViewer.Width = 850;
                this.ReportViewer1.Visible            = true;
                this.ReportViewer1.ReportViewer.Reset();
                string[] TableName = { "RPT_DivisionWiseDistributedKashLand" };

                ReportViewer1.AddReportParameter(new ReportParameter("Month", ddlToMonth.SelectedIndex > 0 ? ddlToMonth.SelectedItem.Text : ""));
                ReportViewer1.AddReportParameter(new ReportParameter("Year", ddlToYear.SelectedIndex > 0 ? ddlToYear.SelectedItem.Text : ""));
                ReportViewer1.AddReportParameter(new ReportParameter("FromDate", entity.FromDate.HasValue ? entity.FromDate.Value.ToString("dd.MM.yyyy") : ""));
                ReportViewer1.AddReportParameter(new ReportParameter("ToDate", entity.ToDate.HasValue ? entity.ToDate.Value.ToString("dd.MM.yyyy") : ""));
                ReportViewer1.AddDsReportSource(list);

                this.ReportViewer1.ShowReport(ReportSource, TableName);
                this.ReportViewer1.ReportViewer.LocalReport.Refresh();
            }
            catch (Exception ex)
            {
                Error = ex.Message;
            }
        }
        private void LoadReport(List <RPT_OrganizationDataEntity> list, RPT_OrganizationDataEntity entity)
        {
            string ReportSource = "../RDLC/RPT_UnionWiseFisherFolkFamilyCoparativesInitiativesByRange.rdlc";

            try
            {
                ReportViewer1.ClearData();
                this.ReportViewer1.ReportViewer.Width = 850;
                this.ReportViewer1.Visible            = true;
                this.ReportViewer1.ReportViewer.Reset();
                string[] TableName = { "RPT_OrganizationData" };

                ReportViewer1.AddReportParameter(new ReportParameter("FromYear", ddlFromYear.SelectedIndex > 0 ? ddlFromYear.SelectedItem.Text : ""));
                ReportViewer1.AddReportParameter(new ReportParameter("ToYear", ddlToYear.SelectedIndex > 0 ? ddlToYear.SelectedItem.Text : ""));
                ReportViewer1.AddReportParameter(new ReportParameter("Division", ddlDivision.SelectedIndex > 0 ? "Division: " + ddlDivision.SelectedItem.Text : ""));
                ReportViewer1.AddReportParameter(new ReportParameter("District", ddlDistrict.SelectedIndex > 0 ? "District/Zilla: " + ddlDistrict.SelectedItem.Text : ""));
                ReportViewer1.AddReportParameter(new ReportParameter("Upazila", ddlUpazilla.SelectedIndex > 0 ? "Upazila/Thana: " + ddlUpazilla.SelectedItem.Text : ""));
                ReportViewer1.AddReportParameter(new ReportParameter("Union", ddlUnion.SelectedIndex > 0 ? "Union: " + ddlUnion.SelectedItem.Text : ""));
                ReportViewer1.AddDsReportSource(list);

                this.ReportViewer1.ShowReport(ReportSource, TableName);
                this.ReportViewer1.ReportViewer.LocalReport.Refresh();
            }
            catch (Exception ex)
            {
                Error = ex.Message;
            }
        }
        private void LoadReport(List <RPT_OrganizationDataEntity> list, RPT_OrganizationDataEntity entity)
        {
            string ReportSource = "../RDLC/RPT_UnionWiseStatusOfAffectedForConvertAgriLandToCommercialLand.rdlc";

            try
            {
                ReportViewer1.ClearData();
                this.ReportViewer1.ReportViewer.Width = 850;
                this.ReportViewer1.Visible            = true;
                this.ReportViewer1.ReportViewer.Reset();
                string[] TableName = { "RPT_OrganizationData" };

                ReportViewer1.AddReportParameter(new ReportParameter("Year", ddlYear.SelectedIndex > 0 ? ddlYear.SelectedItem.Text : ""));
                ReportViewer1.AddReportParameter(new ReportParameter("Division", ddlDivision.SelectedIndex > 0 ? "Division: " + ddlDivision.SelectedItem.Text : ""));
                ReportViewer1.AddReportParameter(new ReportParameter("District", ddlDistrict.SelectedIndex > 0 ? "District/Zilla: " + ddlDistrict.SelectedItem.Text : ""));
                ReportViewer1.AddReportParameter(new ReportParameter("Upazila", ddlUpazilla.SelectedIndex > 0 ? "Upazila/Thana: " + ddlUpazilla.SelectedItem.Text : ""));
                ReportViewer1.AddReportParameter(new ReportParameter("Union", ddlUnion.SelectedIndex > 0 ? "Union: " + ddlUnion.SelectedItem.Text : ""));
                ReportViewer1.AddDsReportSource(list);

                this.ReportViewer1.ShowReport(ReportSource, TableName);
                this.ReportViewer1.ReportViewer.LocalReport.Refresh();
            }
            catch (Exception ex)
            {
                Error = ex.Message;
            }
        }