/// <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(); }
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(); }