Пример #1
0
        /// <summary>
        /// Builds a list of all datasets
        /// </summary>
        private void BuildDatasets()
        {
            DataView datasets = BusinessObject.GetAllAsDataView <Dataset>();

            datasets.Sort           = Dataset.DatasetName + " ASC";
            DatasetsRptr.DataSource = datasets;
            DatasetsRptr.DataBind();
        }
Пример #2
0
        private void BuildDatasets()
        {
            var datasets = BOL.BusinessObject.GetAllAsDataView <BOL.Dataset>();

            datasets.Sort           = BOL.Dataset.DatasetName + " ASC";
            DatasetsRptr.DataSource = datasets;
            DatasetsRptr.DataBind();

            DatasetsCount.Text = datasets.Count.ToString();
        }