Beispiel #1
0
        /// <summary>
        /// 绑定列表
        /// </summary>
        private void BindList()
        {
            using (PurProvider purProvider = new PurProvider())
            {
                string    dateFrom = LocalGlobal.ConvertDateFormat(DateFrom.Text.Trim()).ToString("yyyyMMdd");
                string    dateTo   = LocalGlobal.ConvertDateFormat(DateTo.Text.Trim()).ToString("yyyyMMdd");
                DataTable table    = purProvider.ShipQuery(ORDNO.Text.Trim(), CUSTNO.Text.Trim(), dateFrom, dateTo);

                List.DataSource = table;
            }
            List.DataBind();
        }