private void LoadCBC()
    {
        var declarations = DBReadManager.GetViewedCbcDeclarations();

        Session["declarations"] = declarations;
        gvCBC.Bind(declarations);
    }
    protected void btnSearch_Click(object sender, EventArgs e)
    {
        var taxRefNo = txtTexRefNo.FieldValue != null ? txtTexRefNo.Text :
                       null;
        var year         = !string.IsNullOrEmpty(txtYear.Text) ? Convert.ToInt32(txtYear.Text) : 0;
        var declarations = DBReadManager.GetViewedCbcDeclarations(taxRefNo, year);

        gvCBC.Bind(declarations);
    }