protected void btn_reconAgn_Click(object sender, EventArgs e)
    {
        string yrmo = ddlYrmo.SelectedItem.Text.ToString();

        lbl_error.Text = "";
        ClaimsRecon cObj1 = new ClaimsRecon();

        try
        {
            cObj1.DeleteNCAReconData(yrmo);
            if (RptsImported())
            {
                //AnthRecon.matchDFCl(yrmo);
                cObj1.rfdfFirstVerification(yrmo);
                cObj1.CompareFRD_DFClaims(yrmo);
                cObj1.retainForcedAdjNCA(yrmo);
                ShowResult();
                auditRecon(yrmo);
            }
        }
        catch (Exception ex)
        {
            cObj1.DeleteNCAReconData(yrmo);
            lbl_error.Text = "Error in re-reconciliation.<br />" + ex.Message;
        }
    }
    protected void btn_reconcile_Click(object sender, EventArgs e)
    {
        checkPastRecon();
        string yrmo = ddlYrmo.SelectedItem.Text.ToString();

        lbl_error.Text = "";
        if (Page.IsValid)
        {
            ClaimsRecon cObj = new ClaimsRecon();
            try
            {
                string _monthList = AnthRecon.CheckReconOrder(yrmo, "Non-CA");
                if (_monthList.Equals(""))
                {
                    if (RptsImported())
                    {
                        //AnthRecon.matchDFCl(yrmo);
                        cObj.rfdfFirstVerification(yrmo);
                        cObj.CompareFRD_DFClaims(yrmo);
                        ShowResult();
                        auditRecon(yrmo);
                    }
                }
                else
                {
                    lbl_error.Text = "Reconciliation for " + _monthList + " not completed!";
                }
            }
            catch (Exception ex)
            {
                cObj.DeleteNCAReconData(yrmo);
                lbl_error.Text = "Error in reconciling<br />" + ex.Message;
            }
        }
    }
    protected void btn_reimport_Click(object sender, EventArgs e)
    {
        string yrmo = ddlYrmo.SelectedItem.Text.ToString();

        lbl_error.Text = "";
        try
        {
            ClaimsRecon dObj = new ClaimsRecon();
            dObj.DeleteNCAReconData(yrmo);
            dObj.deleteForced(yrmo, "DFRF");
            ImportDAL iObj = new ImportDAL();
            iObj.Rollback("DF", yrmo);
            MultiView1.SetActiveView(view_main);
        }
        catch (Exception ex)
        {
            lbl_error1.Text = "Error in re-importing file.<br />" + ex.Message;
        }
    }