刚开懂一个添加新闻的流程: 在表现层中,用下面一句代码条用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} 相关文章: 2022-12-23 2021-11-18 2021-10-01 2021-09-17 2022-12-30 2021-10-16 2022-12-23 2021-09-18