資源簡介
C# ASP.NET學生管理信息系統代碼,SQL數據庫,身份權限分:管理員、院教務員、班主任、學生等,適合學習的一套系統。
www.gouyue.net 勾月科技
QQ17878387 勾月

代碼片段和文件信息
/*====================================================================================
?*?系統名稱:學生管理信息系統
?*?模塊名稱:業務邏輯層
?*?作????者:鄢濤
?*?功能說明:完成管理員用戶的業務邏輯操作
?*?創建日期:2009-9-6
?===================================================================================*/
using?System;
using?System.Collections.Generic;
using?System.Text;
using?System.Data;
using?CDU.DAL;
using?CDU.Entity;
//引用System.Web程序集
using?System.Web.Security;
namespace?CDU.BLL
{
????public?static?class?BLL_AdminUser
????{
????????///?
????????///?管理員用戶登錄
????????///?
????????///?用戶ID
????????///?用戶密碼,已經經過md5加密
????????///?如果登錄成功,則返回管理員的一個實體,否則返回NULL
????????public?static?Entity_AdminUser?Login(string?id?string?pwd)
????????{
????????????if?(string.IsNullOrEmpty(id)?||?string.IsNullOrEmpty(pwd))
????????????????return?null;
????????????
????????????//對密碼進行MD5加密
????????????pwd?=?CommonFuncs.MD5_Encode(pwd);
????????????
????????????try
????????????{
????????????????return?DAL_AminUser.Login(id?pwd);
????????????}
????????????catch?(Exception?ex)
????????????{
????????????????BLL_Logs.WriteLog(ex.Message);
????????????????return?null;
????????????}
????????}
????????///?
????????///?更新管理員用戶的信息
????????///?
????????///?管理員用戶實體
????????///?成功返回true,失敗返回false
????????public?static?bool?Update(Entity_AdminUser?insAdmin)
????????{
????????????try
????????????{
????????????????DAL_AminUser.Update(insAdmin);
????????????????return?true;
????????????}
????????????catch?(Exception?ex)
????????????{
????????????????BLL_Logs.WriteLog(ex.Message);
????????????????return?false;
????????????}
????????}
????}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????3145728??2011-06-30?10:42??學生管理信息系統代碼\Databa
?????文件????1048576??2011-06-30?10:42??學生管理信息系統代碼\Databa
?????文件??????10752??2011-06-30?10:42??學生管理信息系統代碼\StudentMIS\BLL\bin\Debug\CDU.BLL.dll
?????文件??????48640??2011-06-30?10:42??學生管理信息系統代碼\StudentMIS\BLL\bin\Debug\CDU.BLL.pdb
?????文件??????17920??2011-06-30?10:42??學生管理信息系統代碼\StudentMIS\BLL\bin\Debug\CDU.DAL.dll
?????文件??????46592??2011-06-30?10:42??學生管理信息系統代碼\StudentMIS\BLL\bin\Debug\CDU.DAL.pdb
?????文件??????12800??2011-06-30?10:42??學生管理信息系統代碼\StudentMIS\BLL\bin\Debug\CDU.Entity.dll
?????文件??????11776??2011-06-30?10:42??學生管理信息系統代碼\StudentMIS\BLL\bin\Debug\CDU.Entity.pdb
?????文件??????90112??2011-06-30?10:42??學生管理信息系統代碼\StudentMIS\BLL\bin\Debug\Microsoft.Practices.EnterpriseLibrary.Common.dll
?????文件??????65536??2011-06-30?10:42??學生管理信息系統代碼\StudentMIS\BLL\bin\Debug\Microsoft.Practices.EnterpriseLibrary.Data.dll
?????文件??????57344??2011-06-30?10:42??學生管理信息系統代碼\StudentMIS\BLL\bin\Debug\Microsoft.Practices.ob
?????文件???????2963??2011-06-30?10:43??學生管理信息系統代碼\StudentMIS\BLL\BLL.csproj
?????文件???????2088??2011-06-30?10:43??學生管理信息系統代碼\StudentMIS\BLL\BLL_AdminUser.cs
?????文件???????4755??2011-06-30?10:43??學生管理信息系統代碼\StudentMIS\BLL\BLL_Classes.cs
?????文件???????1635??2011-06-30?10:43??學生管理信息系統代碼\StudentMIS\BLL\BLL_Logs.cs
?????文件???????4402??2011-06-30?10:43??學生管理信息系統代碼\StudentMIS\BLL\BLL_Major.cs
?????文件???????2943??2011-06-30?10:43??學生管理信息系統代碼\StudentMIS\BLL\BLL_Rewards.cs
?????文件???????3300??2011-06-30?10:43??學生管理信息系統代碼\StudentMIS\BLL\BLL_RewardsTypes.cs
?????文件???????4118??2011-06-30?10:43??學生管理信息系統代碼\StudentMIS\BLL\BLL_School.cs
?????文件???????2809??2011-06-30?10:43??學生管理信息系統代碼\StudentMIS\BLL\BLL_StatusChange.cs
?????文件???????3466??2011-06-30?10:43??學生管理信息系統代碼\StudentMIS\BLL\BLL_StatusChangeType.cs
?????文件???????4300??2011-06-30?10:43??學生管理信息系統代碼\StudentMIS\BLL\BLL_Student.cs
?????文件????????922??2011-06-30?10:43??學生管理信息系統代碼\StudentMIS\BLL\CommonFuncs.cs
?????文件???????2478??2011-06-30?10:43??學生管理信息系統代碼\StudentMIS\BLL\obj\Debug\BLL.csproj.FileListAbsolute.txt
?????文件??????10752??2011-06-30?10:41??學生管理信息系統代碼\StudentMIS\BLL\obj\Debug\CDU.BLL.dll
?????文件??????48640??2011-06-30?10:41??學生管理信息系統代碼\StudentMIS\BLL\obj\Debug\CDU.BLL.pdb
?????文件???????5120??2011-06-30?10:41??學生管理信息系統代碼\StudentMIS\BLL\obj\Debug\Refactor\CDU.BLL.dll
?????文件??????19451??2011-06-30?10:41??學生管理信息系統代碼\StudentMIS\BLL\obj\Debug\ResolveAssemblyReference.cache
?????文件???????1344??2011-06-30?10:42??學生管理信息系統代碼\StudentMIS\BLL\Properties\AssemblyInfo.cs
?????文件??????17920??2011-06-30?10:43??學生管理信息系統代碼\StudentMIS\DAL\bin\Debug\CDU.DAL.dll
............此處省略510個文件信息
- 上一篇:C#實時監控硬件信息
- 下一篇:c# winfrom UI
評論
共有 條評論