資源簡介
學生管理系統,包括老師、學生等角色等錄,采用VS2005+SQL2005開發工具,適合初學者晉升使用!
代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Text;
using?System.Windows.Forms;
namespace?SMOS
{
????public?partial?class?AddGuest?:?Form
????{
????????public?AddGuest()
????????{
????????????InitializeComponent();
????????}
????????private?void?button1_Click(object?sender?EventArgs?e)
????????{
????????????string?logId?=?txt_Name.Text.Trim();
????????????if?(txt_mima.Text.Trim().Length?6?||?txt_queren.Text.Trim().Length?6)
????????????{
????????????????MessageBox.Show(“密碼不安全或者前后密碼產度不一或者確認密碼沒有請更改“?“提示“);
????????????????return;
????????????}
????????????else
????????????{
????????????????if(txt_mima.Text.Trim()?==?txt_queren.Text.Trim())
????????????????{
????????????????????string?mima?=?txt_mima.Text.Trim();
????????????????????if?(SqlData.Guest?.AddGuest(logId?mima))
????????????????????{
????????????????????????MessageBox.Show(“注冊成功,角色為游客“?“操作提示“);
????????????????????????this.Close();
????????????????????}
????????????????????else
????????????????????{
????????????????????????MessageBox.Show(“注冊失敗“?“操作提示“);
????????????????????}
????????????????}
????????????????else
????????????????{
????????????????????MessageBox.Show(“前后密碼不一致“?“提示“);
????????????????}
????????????}
????????}
????????private?void?button2_Click(object?sender?EventArgs?e)
????????{
????????????this.Close();
????????}
????}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????2191??2010-04-22?19:43??c#學生管理系統\SMOS.sln
?????文件???????49152??2012-07-12?09:11??c#學生管理系統\SMOS.suo
?????目錄???????????0??2013-02-19?22:56??c#學生管理系統\SMOS\
?????文件????????1530??2010-05-05?17:23??c#學生管理系統\SMOS\AddGuest.cs
?????文件????????6610??2010-05-05?17:23??c#學生管理系統\SMOS\AddGuest.Designer.cs
?????文件??????155634??2010-05-05?17:23??c#學生管理系統\SMOS\AddGuest.resx
?????文件????????1524??2004-01-09?10:37??c#學生管理系統\SMOS\AddUser.cs
?????文件????????6616??2004-01-09?10:23??c#學生管理系統\SMOS\AddUser.Designer.cs
?????文件??????155634??2004-01-09?10:23??c#學生管理系統\SMOS\AddUser.resx
?????文件????????3304??2010-05-04?13:46??c#學生管理系統\SMOS\banjicls.cs
?????文件????????7026??2010-05-04?13:46??c#學生管理系統\SMOS\banjicls.Designer.cs
?????文件??????155634??2010-05-04?13:46??c#學生管理系統\SMOS\banjicls.resx
?????文件????????2122??2010-05-10?18:09??c#學生管理系統\SMOS\BeiFen.cs
?????文件????????4684??2010-04-22?17:52??c#學生管理系統\SMOS\BeiFen.Designer.cs
?????文件??????155824??2010-04-22?17:52??c#學生管理系統\SMOS\BeiFen.resx
?????目錄???????????0??2013-02-19?22:56??c#學生管理系統\SMOS\bin\
?????目錄???????????0??2013-02-19?22:56??c#學生管理系統\SMOS\bin\Debug\
?????文件?????3391488??2010-12-28?22:48??c#學生管理系統\SMOS\bin\Debug\SMOS.exe
?????文件??????267776??2010-12-28?22:48??c#學生管理系統\SMOS\bin\Debug\SMOS.pdb
?????文件????????5632??2005-11-11?22:25??c#學生管理系統\SMOS\bin\Debug\SMOS.vshost.exe
?????文件???????28672??2010-12-28?22:48??c#學生管理系統\SMOS\bin\Debug\SqlData.dll
?????文件???????42496??2010-12-28?22:48??c#學生管理系統\SMOS\bin\Debug\SqlData.pdb
?????文件???????16384??2010-12-28?22:48??c#學生管理系統\SMOS\bin\Debug\SqlOperator.dll
?????文件???????17920??2010-12-28?22:48??c#學生管理系統\SMOS\bin\Debug\SqlOperator.pdb
?????文件?????1356800??2012-07-12?09:09??c#學生管理系統\SMOS\bin\Debug\說明.doc
?????文件?????????778??2010-05-05?16:49??c#學生管理系統\SMOS\chakanbanj.cs
?????文件????????3431??2010-05-05?16:49??c#學生管理系統\SMOS\chakanbanj.Designer.cs
?????文件??????155634??2010-05-05?16:49??c#學生管理系統\SMOS\chakanbanj.resx
?????文件????????9518??2010-05-10?17:50??c#學生管理系統\SMOS\chakanchengji.cs
?????文件???????11885??2004-01-09?09:43??c#學生管理系統\SMOS\chakanchengji.Designer.cs
?????文件??????155634??2004-01-09?09:43??c#學生管理系統\SMOS\chakanchengji.resx
............此處省略171個文件信息
評論
共有 條評論