刚开懂一个添加新闻的流程: 在表现层中,用下面一句代码条用bll中的方法 sc.BLL.News bll = new sc.BLL.News(); protected void btnSubmit_Click(object sender, EventArgs e) } bll中:private readonly sc.IDAL.INews dal = DataAccess.CreateNews(); public int Add(sc.Model.News model) } IDAL中: int Add(sc.Model.News model); DAL中 public class News : INews} 相关文章: