コード例 #1
0
        public ActionResult GridView_FSOrderPartialDelete(System.Decimal Code)
        {
            var model = new object[0];

            if (Code != null)
            {
                try
                {
                    // Insert here a code to delete the item from your model
                    APIFSOrderList.DeleteItem(Code);
                }
                catch (Exception e)
                {
                    ViewData["EditError"] = e.Message;
                }
            }
            return(PartialView("_GridView_FSOrderPartial", APIFSOrderList.GetData()));
        }