Example #1
0
    private void BindBeneficiaryDetails()
    {
        DataTable dt = new DataTable();

        try
        {
            dt = obj_wallet.getBeneficiaryDetail();
            if (dt.Rows.Count > 0)
            {
                gvRegistration.DataSource = dt;
                gvRegistration.DataBind();
            }
            else
            {
                lblMessage.Text      = "<br/><br/><br/>There is no any records.";
                lblMessage.Font.Size = 20;
            }
        }
        catch
        { }
    }