yuanweisen

 

2008年12月9日

后台的父类

摘要: /// /// 当前员工 /// public Employee CurrentMaster { get { if (Session["CurrentMaster"] == null) return null; ... 阅读全文

posted @ 2008-12-09 18:28 袁 阅读(176) 评论(0) 推荐(0) 编辑

前台的父类

摘要: 当然要继承基类了 /// /// 当前用户 /// public Patient CurrentPatient { get { if (Session["CurrentPatient"] == null) re... 阅读全文

posted @ 2008-12-09 18:20 袁 阅读(120) 评论(0) 推荐(0) 编辑

做项目中会用到的一些共公的方法

摘要: 1 弹出Alert后再转向某页面 /// /// 弹出Alert然后转向 /// /// /// protected void ShowAlertAndRedirect(string msg, string url) { ResponseScript("alert('"... 阅读全文

posted @ 2008-12-09 18:18 袁 阅读(180) 评论(0) 推荐(0) 编辑

做项目时要注意的地方

摘要: 1 在项目分前后台的时候,有时候前台打开的文章列表,某些文章这时可能就被管理员删除了,这时会报错,所以要给出提示,不能报黄页错误,代码比较简单 Business.HealthEducation MyHE = new Business.HealthEducation(); MyHE = Business.HealthEducation.GetModel(HE_id);... 阅读全文

posted @ 2008-12-09 17:23 袁 阅读(191) 评论(0) 推荐(0) 编辑

导航