資源簡(jiǎn)介
基于ASP.NET的系統(tǒng)(SQLServer版)
1.包含源程序,數(shù)據(jù)庫(kù)腳本。代碼和數(shù)據(jù)庫(kù)腳本都有詳細(xì)注釋。
2.課題設(shè)計(jì)僅供參考學(xué)習(xí)使用,可以在此基礎(chǔ)上進(jìn)行擴(kuò)展完善。
開(kāi)發(fā)環(huán)境:
Visual Studio 2010,SQL Server 2008
涉及技術(shù)點(diǎn):
ASP.Net2.0、HTML、CSS、JavaScript、SQLServer等
程序功能:
項(xiàng)目我測(cè)試過(guò)是可以直接運(yùn)行的,如果幫助到了您 麻煩記得給個(gè)好評(píng)謝謝啦。

代碼片段和文件信息
using?System;
using?System.Data;
using?System.Configuration;
using?System.Collections;
using?System.Collections.Generic;
using?System.Linq;
using?System.Web;
using?System.Web.Security;
using?System.Web.UI;
using?System.Web.UI.WebControls;
using?System.Web.UI.WebControls.WebParts;
using?System.Web.UI.HtmlControls;
using?System.Data.SqlClient;
namespace?XJGLXT
{
????public?partial?class?Default?:?System.Web.UI.Page
????{
????????protected?void?Page_Load(object?sender?EventArgs?e)
????????{
????????}
????????//登錄按鈕
????????protected?void?btnLogin_Click(object?sender?EventArgs?e)
????????{
????????????string?strUserName?=?txtUserName.Text.Trim();
????????????string?strPassword?=?System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile(txtPassword.Text.Trim()?“MD5“).ToLower().ToString();//MD5加密
????????????string?strUserType?=?DropDownListUserType.SelectedValue.ToString().Trim();
????????????Code.VerifyLogin?db?=?new?Code.VerifyLogin();
????????????if?(db.Login(strUserName?strPassword?strUserType))
????????????{
????????????????//FormsAuthentication.SetAuthCookie(strUserName?createPersistentCookie:?false);
????????????????HttpCookie?cookie?=?new?HttpCookie(“User“);
????????????????//cookie.Value?=?strUserName;
????????????????cookie.Values[“UserName“]?=?strUserName;
????????????????cookie.Values[“UserType“]?=?strUserType;
????????????????cookie.Expires?=?System.DateTime.Now.AddDays(1);
????????????????Response.Cookies.Add(cookie);
????????????????Response.Redirect(“~/Frm/Main.aspx“);
????????????}
????????????else
????????????{
????????????????Code.Common.ShowMessage(this?“用戶名或密碼錯(cuò)誤“);
????????????}
????????}
????}
}
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件??????85567??2018-04-29?18:00??課設(shè)\XJGLXT\.vs\config\applicationhost.config
????..A..H.?????84992??2018-04-30?00:25??課設(shè)\XJGLXT\.vs\WebStudent\v15\.suo
?????文件??????????0??2018-04-29?18:00??課設(shè)\XJGLXT\.vs\WebStudent\v15\Server\sqlite3\db.lock
?????文件?????925696??2018-04-30?00:25??課設(shè)\XJGLXT\.vs\WebStudent\v15\Server\sqlite3\storage.ide
?????文件?????200704??2018-06-22?00:26??課設(shè)\XJGLXT\bin\ICSharpCode.SharpZipLib.dll
?????文件??????92160??2009-12-20?12:57??課設(shè)\XJGLXT\bin\NPOI.DDF.dll
?????文件????1679360??2018-06-22?00:26??課設(shè)\XJGLXT\bin\NPOI.dll
?????文件??????53248??2009-12-20?13:16??課設(shè)\XJGLXT\bin\NPOI.HPSF.dll
?????文件?????964608??2009-12-20?13:33??課設(shè)\XJGLXT\bin\NPOI.HSSF.dll
?????文件?????536064??2018-06-22?00:26??課設(shè)\XJGLXT\bin\NPOI.OOxm
?????文件??????91136??2018-06-22?00:26??課設(shè)\XJGLXT\bin\NPOI.Openxm
?????文件????2121728??2018-06-22?00:26??課設(shè)\XJGLXT\bin\NPOI.Openxm
?????文件??????49664??2009-12-20?13:16??課設(shè)\XJGLXT\bin\NPOI.POIFS.dll
?????文件??????39424??2009-12-20?12:57??課設(shè)\XJGLXT\bin\NPOI.Util.dll
?????文件????2254144??2018-06-22?00:26??課設(shè)\XJGLXT\bin\NPOI.xm
?????文件??????72192??2018-12-30?01:10??課設(shè)\XJGLXT\bin\WebStudent.dll
?????文件???????2322??2018-06-22?00:47??課設(shè)\XJGLXT\bin\WebStudent.dll.config
?????文件?????181760??2018-12-30?01:10??課設(shè)\XJGLXT\bin\WebStudent.pdb
?????文件????????364??2018-12-29?19:38??課設(shè)\XJGLXT\Code\College.cs
?????文件???????5447??2018-12-29?20:14??課設(shè)\XJGLXT\Code\CollegeManage.cs
?????文件???????1382??2018-12-29?19:27??課設(shè)\XJGLXT\Code\Common.cs
?????文件????????447??2018-12-29?19:27??課設(shè)\XJGLXT\Code\Config.cs
?????文件??????24653??2018-12-29?19:27??課設(shè)\XJGLXT\Code\ExcelHelper.cs
?????文件????????482??2018-12-29?21:24??課設(shè)\XJGLXT\Code\Grade.cs
?????文件???????5965??2018-12-29?21:30??課設(shè)\XJGLXT\Code\GradeManage.cs
?????文件????????508??2018-12-29?22:03??課設(shè)\XJGLXT\Code\Reward.cs
?????文件???????6430??2018-12-29?22:41??課設(shè)\XJGLXT\Code\RewardManage.cs
?????文件????????546??2018-12-29?19:27??課設(shè)\XJGLXT\Code\Student.cs
?????文件???????6682??2018-12-29?19:27??課設(shè)\XJGLXT\Code\StudentManage.cs
?????文件???????7126??2018-12-29?19:27??課設(shè)\XJGLXT\Code\UserManage.cs
............此處省略135個(gè)文件信息
- 上一篇:非常好用的C#程序打包工具
- 下一篇:c# xm
l版人事管理系統(tǒng)源代碼
評(píng)論
共有 條評(píng)論