摘要: .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 阅读全文
posted @ 2012-06-18 11:36 jsping68 阅读(936) 评论(0) 推荐(0) 编辑