Example #1
0
        public ActionResult TOEdit(PDA p)
        {
            PDA pp = PDA.GetEntityByID(p.ID);

            pp.SupplierId = p.SupplierId;
            int rtn = pp.UpdateByID();

            return(Content(rtn > 0 ? "ok" : "修改出错了!!"));
        }
Example #2
0
        public ActionResult Edit(int ID)
        {
            PDA P = PDA.GetEntityByID(ID);

            return(View(P));
        }