private void BindNewsClass() { IList <NewsClass> list = NewsClass.AllClass; ArticleClass.DataSource = list; ArticleClass.TextField = "ClassName"; ArticleClass.ValueField = "ID"; ArticleClass.DataBind(); }
private void BindNewsClass() { IList <NewsClass> list = NewsClass.AllClass; ArticleClass.DataSource = list; ArticleClass.TextField = "ClassName"; ArticleClass.ValueField = "ID"; ArticleClass.DataBind(); }