摘要:
.aspx页面中的方法://将获取到的List<T>值赋值给TextBoxprivate void InitTextBox(){ int id = int.Parse(ViewState["ID"].ToString()); List<NewsModel> list =NewsBLL.GetLoad(id); foreach (NewsModel m in list) { txtTitle.Text = m.Title; txtCata.Text = m.NewsCatagory; txtContent.Text = m.Content; listB 阅读全文