private void GetLeadsDownloadHistory()
    {
        try
        {
            LeadsDownloadBL objLeadsDownloadBL = new LeadsDownloadBL();

            DataSet dsStateAllocation = objLeadsDownloadBL.GetLeadsDownloadUploadHistory(ddlVehicleType.SelectedItem.Value);
            if (dsStateAllocation.Tables[0].Rows.Count > 0)
            {
                rptrDownload.Visible = true;
                ldsHeading.Visible = true;
                ldsHeading.Text = "Center wise leads";
                rptrDownload.DataSource = dsStateAllocation.Tables[0];
                rptrDownload.DataBind();
            }
            else
            {
                ldsHeading.Visible = true;
                ldsHeading.Text = "Leads not uploaded";
                rptrDownload.Visible = false;
            }

        }
        catch (Exception ex)
        {
            throw ex;
        }
    }
    private void GetLeadsDownloadHistory()
    {
        LeadsDownloadBL objLeadsDownloadBL = new LeadsDownloadBL();

        DataSet dsStateAllocation = objLeadsDownloadBL.GetLeadsDownloadUploadHistory(ddlVehicleType.SelectedItem.Value);

        rptrDownload.DataSource = dsStateAllocation.Tables[0];
        rptrDownload.DataBind();
    }