Пример #1
0
    private void LoadOrders(int pCustomerID)
    {
        DAOrders daOrders = new DAOrders();

        RadGrid_Orders.DataSource = daOrders.USP_Orders_GetByCustomerID(pCustomerID);
        RadGrid_Orders.DataBind();

        daOrders.CloseAll();
    }
Пример #2
0
    // Xử lý dữ liệu đơn hàng
    override protected Boolean LoadData()
    {
        try
        {
            LoadDateShortStatistic();

            RadGrid_Orders.DataSource = tData.USP_Orders_New();
            RadGrid_Orders.DataBind();

            return(true);
        }
        catch (Exception ex)
        {
            ShowErrorMes("Lỗi hệ thống: " + ex.Message);
            return(false);
        }
    }