Ejemplo n.º 1
0
        protected void EGV_RowCommand(object sender, GridViewCommandEventArgs e)
        {
            int uid = DataConverter.CLng(e.CommandArgument);

            switch (e.CommandName)
            {
            case "del":
                upBll.Comp_RemoveUser(uid);
                break;

            case "setAdmin":
                //upBll.SetAdmin(id);
                break;

            case "recallAdmin":
                //upBll.RecallAdmin(id);
                break;
            }
            MyBind();
        }