public void load(string curveID, DateTime d)
        {
            this.Tenor_ = new List <string>();
            this.Data_  = new List <string>();

            CURVETENOR_INFO_Table_DAO tenor_dao = new CURVETENOR_INFO_Table_DAO();

            tenor_dao.CURVE_CODE_ = curveID;

            tenor_dao.select(DataBaseConnectManager.ConnectionFactory("myDB"));

            string[] tenor_info = tenor_dao.TENORLIST_.Split(';');

            CURVE_DATA_Table_DAO dao = new CURVE_DATA_Table_DAO();

            dao.CURVE_CODE_ = curveID;
            dao.CURVE_DATE_ = d.ToString(StringFormat.DbDateFormat_);

            dao.select(DataBaseConnectManager.ConnectionFactory("myDB"));

            int maxLenth = Math.Min(15, tenor_info.Length);

            for (int i = 0; i < maxLenth; i++)
            {
                this.Tenor_.Add(tenor_info[i]);
                //this.Data_.Add(dao.DataList_[i]);
            }
        }
        public void load(string curveID,DateTime d)
        {
            this.Tenor_ = new List<string>();
            this.Data_ = new List<string>();

            CURVETENOR_INFO_Table_DAO tenor_dao = new CURVETENOR_INFO_Table_DAO();

            tenor_dao.CURVE_CODE_ = curveID;

            tenor_dao.select(DataBaseConnectManager.ConnectionFactory("myDB"));

            string[] tenor_info = tenor_dao.TENORLIST_.Split(';');

            CURVE_DATA_Table_DAO dao = new CURVE_DATA_Table_DAO();

            dao.CURVE_CODE_ = curveID;
            dao.CURVE_DATE_ = d.ToString(StringFormat.DbDateFormat_);

            dao.select(DataBaseConnectManager.ConnectionFactory("myDB"));

            int maxLenth = Math.Min(15,tenor_info.Length);

            for (int i = 0; i < maxLenth; i++)
			{
			    this.Tenor_.Add(tenor_info[i]);
                //this.Data_.Add(dao.DataList_[i]);
			}

        }