91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 6.95MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2023-09-29
  • 語言: C#
  • 標簽: 自動??排課??自動排課??

資源簡介

使用vs-asp.net+sqlserver實現一個模擬大學自動排課的系統,包括excel的導入導出和簡單的排課算法實現。源碼可用!!!

資源截圖

代碼片段和文件信息

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?排課系統
{
????
????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(“用戶名不能為空“);
????????????if?(this.username.Text.Length?????????????{
????????????????
????????????????WebMessageBox.Show(“用戶名不能為空“);?return;
????????????}
????????????if?(this.password.Text.Length?????????????{
????????????????WebMessageBox.Show(“密碼不能為空“);?return;
????????????}
????????????if?(this.code.Value.Length?????????????{
????????????????WebMessageBox.Show(“驗證碼不能為空“);?return;
????????????}
????????????String?num?=?Session[“LVNum“].ToString();
????????????if?(!num.Equals(this.code.Value))
????????????{
????????????????WebMessageBox.Show(“驗證碼輸入錯誤“);?return;
????????????}

????????????if?(RadioButton2.Checked)??//管理員
????????????{
????????????????if?(Operation.getDatatable(“select?*?from?t_admin?where?username=‘“?+?this.username.Text?+?“‘?and?userpwd=‘“?+?this.password.Text?+?“‘“).Rows.Count?????????????????{
????????????????????WebMessageBox.Show(“用戶或密碼錯誤“);?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?????????????????{
????????????????????WebMessageBox.Show(“用戶或密碼錯誤“);?return;
????????????????}
????????????????Session[“teachid“]?=?username.Text;
????????????????Session[“teachname“]?=?dt.Rows[0][“name“].ToString();
????????????????Response.Redirect(“teacher/index.aspx“);
????????????}
????????????
????????}
????}
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件????????341??2018-07-16?17:02??course_scheduling_system\.git\config

?????文件?????????73??2018-07-16?17:00??course_scheduling_system\.git\description

?????文件?????????23??2018-07-16?17:02??course_scheduling_system\.git\HEAD

?????文件????????478??2018-07-16?17:00??course_scheduling_system\.git\hooks\applypatch-msg.sample

?????文件????????896??2018-07-16?17:00??course_scheduling_system\.git\hooks\commit-msg.sample

?????文件???????3327??2018-07-16?17:00??course_scheduling_system\.git\hooks\fsmonitor-watchman.sample

?????文件????????189??2018-07-16?17:00??course_scheduling_system\.git\hooks\post-update.sample

?????文件????????424??2018-07-16?17:00??course_scheduling_system\.git\hooks\pre-applypatch.sample

?????文件???????1642??2018-07-16?17:00??course_scheduling_system\.git\hooks\pre-commit.sample

?????文件???????1348??2018-07-16?17:00??course_scheduling_system\.git\hooks\pre-push.sample

?????文件???????4898??2018-07-16?17:00??course_scheduling_system\.git\hooks\pre-rebase.sample

?????文件????????544??2018-07-16?17:00??course_scheduling_system\.git\hooks\pre-receive.sample

?????文件???????1492??2018-07-16?17:00??course_scheduling_system\.git\hooks\prepare-commit-msg.sample

?????文件???????3610??2018-07-16?17:00??course_scheduling_system\.git\hooks\update.sample

?????文件??????23563??2018-07-16?17:03??course_scheduling_system\.git\index

?????文件????????240??2018-07-16?17:00??course_scheduling_system\.git\info\exclude

?????文件????????187??2018-07-16?17:02??course_scheduling_system\.git\logs\HEAD

?????文件????????187??2018-07-16?17:02??course_scheduling_system\.git\logs\refs\heads\master

?????文件????????187??2018-07-16?17:02??course_scheduling_system\.git\logs\refs\remotes\origin\HEAD

?????文件???????6812??2018-07-16?17:02??course_scheduling_system\.git\objects\pack\pack-8eb36703abb033788d2343f885315d210aff977e.idx

?????文件????3040485??2018-07-16?17:02??course_scheduling_system\.git\objects\pack\pack-8eb36703abb033788d2343f885315d210aff977e.pack

?????文件????????114??2018-07-16?17:02??course_scheduling_system\.git\packed-refs

?????文件?????????41??2018-07-16?17:02??course_scheduling_system\.git\refs\heads\master

?????文件?????????32??2018-07-16?17:02??course_scheduling_system\.git\refs\remotes\origin\HEAD

?????文件?????492032??2018-07-16?17:02??course_scheduling_system\data\2015-2016-1學期課表(輸出1).doc

?????文件??????55296??2018-07-16?17:02??course_scheduling_system\data\2015-2016-2學期課表(輸出2).xls

?????文件?????597364??2018-07-16?17:02??course_scheduling_system\data\排課規則.docx

?????文件??????16829??2018-07-16?17:02??course_scheduling_system\data\教學任務\信息對抗技術系教學任務表.xlsx

?????文件??????15024??2018-07-16?17:02??course_scheduling_system\data\教學任務\微電子技術專業教學任務表.xlsx

?????文件??????15758??2018-07-16?17:02??course_scheduling_system\data\教學任務\電子信息工程專業教學任務表.xlsx

............此處省略395個文件信息

評論

共有 條評論