Beispiel #1
0
    private void BindData()
    {
        pager.PageSize = PagingSize;

        OrderScheduleDal osDal  = new OrderScheduleDal();
        string           filter = null;

        if (ViewState["Filter"] != null)
        {
            filter = ViewState["Filter"].ToString();
        }
        pager.RecordCount = osDal.GetMasterCount(filter);
        DataTable table = osDal.GetMasterAll(pageIndex, PagingSize, filter);

        BindTable2GridView(gvMain, table);
    }