资源简介
现代教务管理系统系三层结构的管理系统,实现方式:VS2005+SQL2005,毕业设计的好素材,主要由学生管理,教师管理,专业管理,课程管理,成绩管理等功能模块构成。

代码片段和文件信息
using System;
using System.Web;
using System.Web.UI;
using System.Data;
using System.Web.Security;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
using StudentManager.IDAL;
using StudentManager.Common;
using StudentManager.DALFactory;
using StudentManager.Model;
#region 业务逻辑层公告实体
namespace StudentManager.BLL
{
///
/// 业务逻辑层公告实体
/// 创建者:余洪
/// 时间:2008-3
///
public class Affiche
{
#region 工厂实例化公告实体
///
/// 工厂实例化公告实体
///
IAffiche affiche = DataAccess.CreateAffiche();
#endregion
#region 绑定数据到页面数据控件
///
/// 绑定数据到页面数据控件
///
///
public void BindAffiches(GridView gdvAffiche)
{
gdvAffiche.DataSource = affiche.GetAffiches();
gdvAffiche.DataBind();
}
#endregion
#region 绑定指定公告信息
///
/// 绑定指定公告信息
///
/// 公告编号
/// 详细控件
///
public void BindAffiche(int af_IdDetailsView dvAfficheDetails)
{
dvAfficheDetails.DataSource=affiche.GetAffiche(af_Id);
dvAfficheDetails.DataBind();
}
#endregion
#region 获取公告信息表
///
/// 获取公告信息表
///
/// 公告编号
/// 公告信息表
public DataTable GetAfficheTb(int af_Id)
{
return affiche.GetAffiche(af_Id).Tables[0];
}
#endregion
#region 发表公告信息
///
/// 发表公告信息
///
/// 公告实体
public void Add_Affiche(AfficheInf afficheInf)
{
if (afficheInf.Af_EnableTime < DateTime.Now)
{
Jscript.Alert(“输入的有效日期小于了现在日期!“);
}
else
{
if (affiche.AddAffiche(afficheInf) == false)
{
Jscript.AlertAndRedirect(“发表公告失败!“ “AddAffiche.aspx“);
}
else
{
Jscript.AlertAndRedirect(“发表公告成功!“ “AddAffiche.aspx“);
}
}
}
#endregion
#region 删除公告信息
///
/// 删除公告信息
///
/// 公告编号
/// 部门ID
///
public void DelAffiche(int af_Id string dp_Id)
{
int int_reault = affiche.DelAffiche(af_Id dp_Id);
if (int_reault==-1)
{
Jscript.AlertAn
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
....... 24064 2008-05-20 22:11 StuManage\Web\AfficheFiles\NET面试问题.doc
....... 10752 2008-05-21 00:11 StuManage\Web\AfficheFiles\选课安排.doc
....... 10752 2008-05-25 03:03 StuManage\Web\AfficheFiles\重修通知.doc
文件 6430 2008-06-01 10:34 StuManage\TestStudentManager\AuthoringTests.txt
文件 636 2008-06-10 00:11 StuManage\BLL\obj\BLL.csproj.FileList.txt
文件 1333 2008-08-06 10:58 StuManage\BLL\obj\BLL.csproj.FileListAbsolute.txt
文件 254 2008-06-10 00:11 StuManage\CacheDependencyFactory\obj\CacheDependencyFactory.csproj.FileList.txt
文件 1468 2008-07-31 19:45 StuManage\CodePub.Com说明.txt
文件 190 2008-06-10 00:11 StuManage\Common\obj\Common.csproj.FileList.txt
文件 410 2008-08-06 10:58 StuManage\Common\obj\Common.csproj.FileListAbsolute.txt
文件 348 2008-06-10 00:11 StuManage\DALFactory\obj\DALFactory.csproj.FileList.txt
文件 780 2008-08-06 10:58 StuManage\DALFactory\obj\DALFactory.csproj.FileListAbsolute.txt
文件 202 2008-06-10 00:11 StuManage\DBUtility\obj\DBUtility.csproj.FileList.txt
文件 437 2008-08-06 10:58 StuManage\DBUtility\obj\DBUtility.csproj.FileListAbsolute.txt
文件 230 2008-06-10 00:11 StuManage\ICacheDependency\obj\ICacheDependency.csproj.FileList.txt
文件 254 2008-06-10 00:11 StuManage\IDAL\obj\IDAL.csproj.FileList.txt
文件 548 2008-08-06 10:58 StuManage\IDAL\obj\IDAL.csproj.FileListAbsolute.txt
文件 210 2008-06-10 00:11 StuManage\IProfileDAL\obj\IProfileDAL.csproj.FileList.txt
文件 206 2008-06-10 00:11 StuManage\Membership\obj\Membership.csproj.FileList.txt
文件 186 2008-06-10 00:11 StuManage\Model\obj\Model.csproj.FileList.txt
文件 401 2008-08-06 10:58 StuManage\Model\obj\Model.csproj.FileListAbsolute.txt
文件 190 2008-06-10 00:11 StuManage\Oracle\obj\Oracle.csproj.FileList.txt
文件 230 2008-06-10 00:11 StuManage\OracleProfileDAL\obj\OracleProfileDAL.csproj.FileList.txt
文件 222 2008-06-10 00:11 StuManage\ProfileFactory\obj\ProfileFactory.csproj.FileList.txt
文件 218 2008-06-10 00:11 StuManage\SQLProfileDAL\obj\SQLProfileDAL.csproj.FileList.txt
文件 424 2008-06-10 00:11 StuManage\SQLServer\obj\SQLServer.csproj.FileList.txt
文件 941 2008-08-06 10:58 StuManage\SQLServer\obj\SQLServer.csproj.FileListAbsolute.txt
文件 246 2008-06-10 00:11 StuManage\TableCacheDependency\obj\TableCacheDependency.csproj.FileList.txt
文件 182 2008-06-10 00:11 StuManage\TestStudentManager\obj\TestStudentManager.csproj.FileList.txt
文件 2297 2008-08-06 20:30 StuManage\现代教务管理系统-使用说明.txt
............此处省略734个文件信息
- 上一篇:WinForm人事管理系统源码20131220
- 下一篇:基于C#的p2p文件传输
评论
共有 条评论