资源简介
校园餐卡管理系统是在.NET平台下开发的基于三层架构的管理系统。系统主要功能:包括对餐卡的开户、销户、挂失、解挂、补卡、消费、充值以及查询等。
用户名:admin 密码:admin
系统运行环境:本系统运行在Visual Studio 2008或较高版本中。
系统运行前请先修改 ./源代码/Windows/App.config文件中的数据库配置。

代码片段和文件信息
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
namespace Hui.BLL
{
///
/// 业务逻辑类Card
///
public class Card
{
//创建数据访问层对象
private readonly Hui.DAL.Card dal = new Hui.DAL.Card();
public Card()
{
}
///
///添加一条数据
///
public int Add(Hui.Model.Card model)
{
return dal.Add(model);
}
///
///开户
///
public string OpenAccount(Hui.Model.Student student Hui.Model.Card card)
{
return dal.OpenAccount(student card);
}
///
///销户
///
public int ClosingAccount(string stuid)
{
return dal.ClosingAccount(stuid);
}
///
///补卡
///
public string ReOpen(Hui.Model.Card card Hui.Model.Card newcard)
{
return dal.ReOpen(card newcard);
}
///
///更新一条数据
///
public int Update(Hui.Model.Card model)
{
return dal.Update(model);
}
///
///得到一个对象实体
///
///Model
public Hui.Model.Card GetModel(string StuID)
{
Hui.Model.Card model = dal.GetModel(StuID);
return model;
}
///
///验证学号是否存在
///
public int CardStuId_Check(string StuId)
{
Hui.Model.Card card = new Hui.Model.Card();
card = GetModel(StuId);
if (card != null)
{
return 1;
}
else
{
return 0;
}
}
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 6144 2012-06-07 21:28 源代码\BLL\bin\Debug\Hui.BLL.dll
文件 34304 2012-06-07 21:28 源代码\BLL\bin\Debug\Hui.BLL.pdb
文件 4096 2012-05-22 21:33 源代码\BLL\bin\Debug\Hui.Common.dll
文件 7680 2012-05-22 21:33 源代码\BLL\bin\Debug\Hui.Common.pdb
文件 16384 2012-06-07 21:28 源代码\BLL\bin\Debug\Hui.DAL.dll
文件 40448 2012-06-07 21:28 源代码\BLL\bin\Debug\Hui.DAL.pdb
文件 7168 2012-06-07 21:28 源代码\BLL\bin\Debug\Hui.DBUtility.dll
文件 19968 2012-06-07 21:28 源代码\BLL\bin\Debug\Hui.DBUtility.pdb
文件 7168 2012-06-07 21:28 源代码\BLL\bin\Debug\Hui.Model.dll
文件 38400 2012-06-07 21:28 源代码\BLL\bin\Debug\Hui.Model.pdb
文件 3213 2012-05-22 10:29 源代码\BLL\BLL.csproj
文件 2109 2012-05-22 08:07 源代码\BLL\Bll_Card.cs
文件 1312 2012-05-22 09:27 源代码\BLL\BLL_ConsumeCard.cs
文件 1186 2012-05-22 16:16 源代码\BLL\BLL_Manager.cs
文件 1287 2012-05-22 10:34 源代码\BLL\BLL_RechargeCard.cs
文件 1443 2012-05-22 08:05 源代码\BLL\BLL_Student.cs
文件 1395 2012-06-07 20:19 源代码\BLL\obj\Debug\BLL.csproj.FileListAbsolute.txt
文件 6144 2012-06-07 21:28 源代码\BLL\obj\Debug\Hui.BLL.dll
文件 34304 2012-06-07 21:28 源代码\BLL\obj\Debug\Hui.BLL.pdb
文件 4608 2012-06-07 19:12 源代码\BLL\obj\Debug\Refactor\Hui.BLL.dll
文件 17463 2012-06-07 21:28 源代码\BLL\obj\Debug\ResolveAssemblyReference.cache
文件 1358 2012-05-13 08:27 源代码\BLL\Properties\AssemblyInfo.cs
文件 4096 2012-05-22 21:33 源代码\Common\bin\Debug\Hui.Common.dll
文件 7680 2012-05-22 21:33 源代码\Common\bin\Debug\Hui.Common.pdb
文件 888 2012-05-22 21:32 源代码\Common\Common.cs
文件 2546 2012-05-22 21:14 源代码\Common\Common.csproj
文件 276 2012-05-22 21:16 源代码\Common\obj\Debug\Common.csproj.FileListAbsolute.txt
文件 4096 2012-05-22 21:33 源代码\Common\obj\Debug\Hui.Common.dll
文件 7680 2012-05-22 21:33 源代码\Common\obj\Debug\Hui.Common.pdb
文件 3072 2012-06-07 19:12 源代码\Common\obj\Debug\Refactor\Hui.Common.dll
............此处省略182个文件信息
相关资源
- C# TIP文件生成和拆解
- C#解析HL7消息的库135797
- C# OCR数字识别实例,采用TessnetOcr,对
- 考试管理系统 - C#源码
- Asp.net学生信息管理系统源码
- asp.net C#购物车源代码
- C#实时网络流量监听源码
- ASP.NET实验室预约管理系统
- C#百度地图源码
- Visual C#.2010从入门到精通配套源程序
- C# 软件版本更新
- C#屏幕软键盘源码,可以自己定制界面
- 020ASP.NET车辆综合管理系统.zip
- 智慧城市 智能家居 C# 源代码
- c#获取mobile手机的IMEI和IMSI
- C#实现简单QQ聊天程序
- 操作系统 模拟的 欢迎下载 C#版
- C#写的计算机性能监控程序
- 用C#实现邮件发送,有点类似于outlo
- MVC model层代码生成器 C#
- c#小型图书销售系统
- C# Socket Server Client 通讯应用 完整的服
- c# winform 自动登录 百度账户 源代码
- C#编写的16进制计算器
- C#TCP通信协议
- C# 数据表(Dataset)操作 合并 查询一
- C#语音识别系统speechsdk51,SpeechSDK51L
- 数据库备份还原工具1.0 C# 源码
-
[免费]xm
lDocument 节点遍历C# - EQ2008LEDc#开发实例
评论
共有 条评论