public AddPointsCredit(string CodeAddP)
        {
            AddPointsCreditTable st = new AddPointsCreditTable();
            DataRow row             = st.Find("CodeAddPoint", codeAddPoint);

            this.codeAddPoint = Convert.ToInt32(row["CodeAddPoint"]);
            this.numOfPoint   = Convert.ToInt32(row["NumOfPoint"]);
            this.status       = Convert.ToBoolean(row["Status"]);
            this.idCustomer   = row["IdCustomer"].ToString();
        }
        public DataRow BuildRow()
        {
            AddPointsCreditTable st     = new AddPointsCreditTable();
            DataTable            stuTbl = st.Dt;
            DataRow newRow = stuTbl.NewRow();

            newRow["CodeAddPoint"] = this.codeAddPoint;
            newRow["NumOfPoint"]   = this.numOfPoint;
            newRow["Status"]       = this.status;
            //newRow["IdCustomer"] = this.idCustomer;


            return(newRow);
        }