Пример #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            QuestionItem ent = null;

            switch (this.RequestAction)
            {
            case RequestActionEnum.Delete:
                ent = this.GetTargetData <QuestionItem>();
                ent.DoDelete();
                this.SetMessage("删除成功!");
                break;

            default:
                DoSelect();
                break;
            }
        }