private string updateaction(JsonArrayParse jp)
        {
            JsonObjectCollection collection = new JsonObjectCollection();
            string flag = "1";

            try
            {
                Business.Base.BusinessWorkPlaceType bc = new project.Business.Base.BusinessWorkPlaceType();
                bc.load(jp.getValue("id"));

                collection.Add(new JsonStringValue("WPTypeNo", bc.Entity.WPTypeNo));
                collection.Add(new JsonStringValue("WPTypeName", bc.Entity.WPTypeName));
                collection.Add(new JsonStringValue("WPTypeSeat", bc.Entity.WPTypeSeat.ToString()));
            }
            catch
            { flag = "2"; }

            collection.Add(new JsonStringValue("type", "update"));
            collection.Add(new JsonStringValue("flag", flag));

            return(collection.ToString());
        }