資源簡(jiǎn)介
.net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)2019
代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.Linq;
using?System.Web;
using?System.Web.UI;
using?System.Web.UI.WebControls;
using?System.Data;
namespace?排課系統(tǒng)
{
????
????public?partial?class?Default?:?System.Web.UI.Page
????{
????????protected?void?Page_Load(object?sender?EventArgs?e)
????????{
????????????if?(!IsPostBack)
????????????{
????????????????//this.username.Text?=?“admin“;
????????????????//this.password.Text?=?“admin“;
????????????????//this.code.Value?=?Session[“LVNum“].ToString();
????????????????//submit_login(sendere);
????????????????//Session.Clear();
????????????}
????????}
????????protected?void?submit_login(object?sender?EventArgs?e)
????????{
????????????//WebMessageBox.Show(“用戶(hù)名不能為空“);
????????????if?(this.username.Text.Length?1)
????????????{
????????????????
????????????????WebMessageBox.Show(“用戶(hù)名不能為空“);?return;
????????????}
????????????if?(this.password.Text.Length?1)
????????????{
????????????????WebMessageBox.Show(“密碼不能為空“);?return;
????????????}
????????????if?(this.code.Value.Length?1)
????????????{
????????????????WebMessageBox.Show(“驗(yàn)證碼不能為空“);?return;
????????????}
????????????String?num?=?Session[“LVNum“].ToString();
????????????if?(!num.Equals(this.code.Value))
????????????{
????????????????WebMessageBox.Show(“驗(yàn)證碼輸入錯(cuò)誤“);?return;
????????????}
????????????if?(RadioButton2.Checked)??//管理員
????????????{
????????????????if?(Operation.getDatatable(“select?*?from?t_admin?where?username=‘“?+?this.username.Text?+?“‘?and?userpwd=‘“?+?this.password.Text?+?“‘“).Rows.Count?1)
????????????????{
????????????????????WebMessageBox.Show(“用戶(hù)或密碼錯(cuò)誤“);?return;
????????????????}
????????????????Session[“username“]?=?username.Text;
????????????????Response.Redirect(“admin/index.aspx“);
????????????}
????????????else?{?
????????????????//教師
????????????????DataTable?dt=Operation.getDatatable(“select?*?from?t_teacher?where?teachid=‘“?+?this.username.Text?+?“‘?and?pwd=‘“?+?this.password.Text?+?“‘“);
????????????????if?(dt.Rows.Count?1)
????????????????{
????????????????????WebMessageBox.Show(“用戶(hù)或密碼錯(cuò)誤“);?return;
????????????????}
????????????????Session[“teachid“]?=?username.Text;
????????????????Session[“teachname“]?=?dt.Rows[0][“name“].ToString();
????????????????Response.Redirect(“teacher/index.aspx“);
????????????}
????????????
????????}
????}
}
?屬性????????????大小?????日期????時(shí)間???名稱(chēng)
-----------?---------??----------?-----??----
?????文件????????341??2018-07-16?17:02??.net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)2019\net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)\.git\config
?????文件?????????73??2018-07-16?17:00??.net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)2019\net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)\.git\desc
?????文件?????????23??2018-07-16?17:02??.net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)2019\net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)\.git\HEAD
?????文件????????478??2018-07-16?17:00??.net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)2019\net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)\.git\hooks\applypatch-msg.sample
?????文件????????896??2018-07-16?17:00??.net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)2019\net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)\.git\hooks\commit-msg.sample
?????文件???????3327??2018-07-16?17:00??.net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)2019\net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)\.git\hooks\fsmonitor-watchman.sample
?????文件????????189??2018-07-16?17:00??.net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)2019\net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)\.git\hooks\post-update.sample
?????文件????????424??2018-07-16?17:00??.net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)2019\net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)\.git\hooks\pre-applypatch.sample
?????文件???????1642??2018-07-16?17:00??.net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)2019\net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)\.git\hooks\pre-commit.sample
?????文件???????1348??2018-07-16?17:00??.net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)2019\net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)\.git\hooks\pre-push.sample
?????文件???????4898??2018-07-16?17:00??.net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)2019\net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)\.git\hooks\pre-reba
?????文件????????544??2018-07-16?17:00??.net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)2019\net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)\.git\hooks\pre-receive.sample
?????文件???????1492??2018-07-16?17:00??.net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)2019\net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)\.git\hooks\prepare-commit-msg.sample
?????文件???????3610??2018-07-16?17:00??.net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)2019\net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)\.git\hooks\update.sample
?????文件??????23563??2018-07-16?17:03??.net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)2019\net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)\.git\index
?????文件????????240??2018-07-16?17:00??.net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)2019\net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)\.git\info\exclude
?????文件????????187??2018-07-16?17:02??.net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)2019\net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)\.git\logs\HEAD
?????文件????????187??2018-07-16?17:02??.net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)2019\net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)\.git\logs\refs\heads\master
?????文件????????187??2018-07-16?17:02??.net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)2019\net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)\.git\logs\refs\remotes\origin\HEAD
?????文件???????6812??2018-07-16?17:02??.net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)2019\net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)\.git\ob
?????文件????3040485??2018-07-16?17:02??.net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)2019\net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)\.git\ob
?????文件????????114??2018-07-16?17:02??.net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)2019\net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)\.git\packed-refs
?????文件?????????41??2018-07-16?17:02??.net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)2019\net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)\.git\refs\heads\master
?????文件?????????32??2018-07-16?17:02??.net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)2019\net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)\.git\refs\remotes\origin\HEAD
?????文件?????492032??2018-07-16?17:02??.net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)2019\net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)\data\2015-2016-1學(xué)期課表(輸出1).doc
?????文件??????55296??2018-07-16?17:02??.net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)2019\net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)\data\2015-2016-2學(xué)期課表(輸出2).xls
?????文件?????597364??2018-07-16?17:02??.net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)2019\net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)\data\排課規(guī)則.docx
?????文件??????16829??2018-07-16?17:02??.net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)2019\net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)\data\教學(xué)任務(wù)\信息對(duì)抗技術(shù)系教學(xué)任務(wù)表.xlsx
?????文件??????15024??2018-07-16?17:02??.net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)2019\net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)\data\教學(xué)任務(wù)\微電子技術(shù)專(zhuān)業(yè)教學(xué)任務(wù)表.xlsx
?????文件??????15758??2018-07-16?17:02??.net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)2019\net自動(dòng)排課系統(tǒng)完整源碼(適合智慧校園)\data\教學(xué)任務(wù)\電子信息工程專(zhuān)業(yè)教學(xué)任務(wù)表.xlsx
............此處省略401個(gè)文件信息
評(píng)論
共有 條評(píng)論