Пример #1
0
        /// <summary>
        /// 接收所有未炒并且未付账的订单编号
        /// </summary>
        public void LoadDB()
        {
            RestOrderBLL obj = new RestOrderBLL();

            foreach (OrderDetailEnity x in obj.LoadDB())
            {
                DropDownList1.Items.Add(x.order_id);
                LoadMenuDB(x.order_id);
            }
        }
Пример #2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            //LoadDB();
            RestOrderBLL obj = new RestOrderBLL();

            foreach (OrderDetailEnity x in obj.LoadDB())
            {
                DropDownList1.Items.Add(x.order_id);
                LoadMenuDB(x.order_id);
            }
        }