Example #1
0
        private int addTYPE(string type_type, string type_desc)
        {
            try {
                TYPE t = new TYPE {
                    TYPE_TYPE = type_type,
                    TYPE_DESC = type_desc
                };

                TYPE.Add(t);
                return(0);
            }
            catch {
                return(-1);
            }
        }