Beispiel #1
0
        protected override string  Save()
        {
            using (PriemEntities context = new PriemEntities())
            {
                int?KCPCel;
                int j;
                if (int.TryParse(tbKCPCel.Text.Trim(), out j))
                {
                    KCPCel = j;
                }
                else
                {
                    KCPCel = null;
                }

                context.Entry_UpdateCEl(GuidId, KCPCel);
            }
            return("true");
        }