Exemplo n.º 1
0
    public void get_notification()
    {
        string i = dbContext.ExecScal("select uId, fname, lname from tblUserMaster where fname is null and lname is null and uId = " + Session["uid"]);

        if (i == "1")
        {
            lbl_Info.Visible = true;
        }
        string j = dbContext.ExecScal("select count(*) from tblUserBankDetails where accountNumber is null and  uId = " + Session["uid"]);

        if (j == "0")
        {
            lbl_bank.Visible = true;
        }
    }