コード例 #1
0
        public bool RemoveRecord(String Seq)
        {
            if (Seq == "000")
            {
                this.sKey = this.Header.Teacher.PadRight(30, ' ') + this.Header.Student.PadRight(30, ' ') + "000";
            }
            else
            {
                this.sKey = this.Detail.Teacher.PadRight(30, ' ') + this.Detail.Student.PadRight(30, ' ') + Seq;
            }

            int err = oCustomer.dsRemoveRec(this.channel, this.sKey);

            if (err == 11)
            {
                return(false);
            }
            else
            {
                return(true);
            }
        }
コード例 #2
0
        public bool Remove()
        {
            int err = oFile.dsRemoveRec(this.channel, this.sKey);

            if (err == 11)
            {
                return(false);
            }
            else
            {
                return(true);
            }
        }