示例#1
0
    private void checkpss(Object sender, mCore.NewMessageReceivedEventArgs e)
    {
        bool b, c;

        number = e.Phone;
        string name = this.Session["unm"].ToString();

        c = DBComponent.chkmbno(e.Phone.Trim());
        if (c)
        {
            b = DBComponent.changenum(e.TextMessage, name, e.Phone);
            if (b)
            {
                s = 1;
            }
            else
            {
                s = 1;
                r = 2;
            }
        }
        else
        {
            s = 1;
            r = 1;
        }
    }