-
大小: 423KB文件類型: .rar金幣: 2下載: 1 次發(fā)布日期: 2021-08-04
- 語(yǔ)言: C#
- 標(biāo)簽: 數(shù)據(jù)庫(kù)??c#??課程設(shè)計(jì)??
資源簡(jiǎn)介
綜合運(yùn)用和融化所學(xué)理論知識(shí),提高分析和解決實(shí)際問(wèn)題的能力,使用C#語(yǔ)言設(shè)計(jì)一個(gè)簡(jiǎn)單的招聘管理系統(tǒng);
經(jīng)過(guò)對(duì)程序設(shè)計(jì)題目的分析可知,整個(gè)程序的設(shè)計(jì)實(shí)現(xiàn)大致分為六個(gè)模塊,其中每一個(gè)模塊對(duì)應(yīng)一個(gè)窗口,他們的功能分別是:數(shù)據(jù)庫(kù)數(shù)據(jù)的建立,登陸系統(tǒng),注冊(cè)賬號(hào),申請(qǐng)表的填寫(xiě),查詢所填信息,刪除錯(cuò)誤表。
1、數(shù)據(jù)庫(kù)數(shù)據(jù)的建立 對(duì)公司職位以及招聘人數(shù)的統(tǒng)計(jì),并對(duì)其進(jìn)行說(shuō)明。
2、登陸系統(tǒng) 通過(guò)賬號(hào)登陸到該系統(tǒng),進(jìn)行申請(qǐng)表的填寫(xiě)。
3、注冊(cè)賬號(hào) 如果沒(méi)有賬號(hào)可以新建一個(gè)賬號(hào)來(lái)登陸系統(tǒng)。
4、申請(qǐng)表的填寫(xiě) 填寫(xiě)申請(qǐng)人的基本信息及所要申請(qǐng)的職位存入數(shù)據(jù)庫(kù)中留底保存。
5、查詢所填申請(qǐng)表 如果已經(jīng)申請(qǐng),則可以查詢所填表的信息是否正確,如果不正確可以進(jìn)一步改正。
6、刪除錯(cuò)誤表 經(jīng)查詢后,檢查到自己所填表有誤,可以將該表刪除,重新申請(qǐng)。
除上面介紹的功能之外,程序還具有返回、退出功能,可以在程序的一次運(yùn)行當(dāng)中循環(huán)執(zhí)行所有的功能,并根據(jù)需要終止程序的執(zhí)行。
2運(yùn)行環(huán)境
硬件:CPU, 內(nèi)存, 主板, 硬盤(pán), 顯卡, 鍵盤(pán), 顯示器等等。
軟件:Windows 7 Visual c# 2008 Microsoft SQL Server 2000。
3 開(kāi)發(fā)工具和編程語(yǔ)言
開(kāi)發(fā)工具:Visual c#2008 Express Edition
編程語(yǔ)言:C#語(yǔ)言

代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Linq;
using?System.Text;
using?System.Windows.Forms;
using?System.Configuration;
using?System.Data.SqlClient;
namespace?WindowsFormsApplication1
{
????public?partial?class?Form1?:?Form
????{
????????public?Form1()
????????{
????????????InitializeComponent();
????????}
????????private?void?登錄_Click(object?sender?EventArgs?e)
????????{
????????????using?(SqlConnection?conn?=?new?SqlConnection(ConfigurationManager.ConnectionStrings[“connStr“].ToString()))
????????????{
????????????????String?mysql?=?“select?*?from?userlog?where?username=‘“?+?textBox1.Text?+?“‘?and?psd=‘“?+?textBox2.Text?+?“‘“;
????????????????SqlCommand?mycomm?=?new?SqlCommand(mysql?conn);
????????????????if?(ConnectionState.Closed?==?conn.State)
????????????????{
????????????????????conn.Open();
????????????????}
????????????????SqlDataReader?myreader?=?mycomm.ExecuteReader();
????????????????if?(myreader.Read())
????????????????{
????????????????????Form4?frm?=?new?Form4();
????????????????????frm.Show();
????????????????????this.Hide();
????????????????}
????????????????else
????????????????{
????????????????????MessageBox.Show(“登錄失敗!!“?“提示“?MessageBoxButtons.OK);
????????????????????textBox2.Text?=?““;
????????????????}
????????????}
???????????
????????}
????????private?void?注冊(cè)_Click(object?sender?EventArgs?e)
????????{
????????????Form3?frm?=?new?Form3();
????????????frm.Show();
????????????this.Hide();
????????}
????????private?void?退出_Click(object?sender?EventArgs?e)
????????{
????????????this.Close();
????????}
????????private?void?Form1_Load(object?sender?EventArgs?e)
????????{
????????}
????}
}
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件????1048576??2011-06-30?22:52??招聘管理系統(tǒng)\fengmenglong_Data.MDF
?????文件????1048576??2011-06-30?22:52??招聘管理系統(tǒng)\fengmenglong_Log.LDF
?????文件???????1845??2011-06-30?11:19??招聘管理系統(tǒng)\源程序\Form1.cs
?????文件???????7309??2011-06-30?11:10??招聘管理系統(tǒng)\源程序\Form1.Designer.cs
?????文件???????6014??2011-06-30?11:10??招聘管理系統(tǒng)\源程序\Form1.resx
?????文件????????343??2011-06-28?13:05??招聘管理系統(tǒng)\源程序\WindowsFormsApplication1\WindowsFormsApplication1\App.config
?????文件??????30720??2011-06-30?19:23??招聘管理系統(tǒng)\源程序\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.exe
?????文件????????343??2011-06-28?13:05??招聘管理系統(tǒng)\源程序\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.exe.config
?????文件??????73216??2011-06-30?19:23??招聘管理系統(tǒng)\源程序\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.pdb
?????文件??????14328??2011-06-30?19:30??招聘管理系統(tǒng)\源程序\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.vshost.exe
?????文件????????343??2011-06-28?13:05??招聘管理系統(tǒng)\源程序\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.vshost.exe.config
?????文件????????490??2009-06-11?05:14??招聘管理系統(tǒng)\源程序\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.vshost.exe.manifest
?????文件???????2043??2011-06-30?11:12??招聘管理系統(tǒng)\源程序\WindowsFormsApplication1\WindowsFormsApplication1\Form2.cs
?????文件??????24682??2011-06-30?11:12??招聘管理系統(tǒng)\源程序\WindowsFormsApplication1\WindowsFormsApplication1\Form2.Designer.cs
?????文件???????5814??2011-06-30?11:12??招聘管理系統(tǒng)\源程序\WindowsFormsApplication1\WindowsFormsApplication1\Form2.resx
?????文件???????1576??2011-06-30?19:23??招聘管理系統(tǒng)\源程序\WindowsFormsApplication1\WindowsFormsApplication1\Form3.cs
?????文件???????5330??2011-06-30?19:23??招聘管理系統(tǒng)\源程序\WindowsFormsApplication1\WindowsFormsApplication1\Form3.Designer.cs
?????文件???????5814??2011-06-30?19:23??招聘管理系統(tǒng)\源程序\WindowsFormsApplication1\WindowsFormsApplication1\Form3.resx
?????文件???????1461??2011-06-30?19:23??招聘管理系統(tǒng)\源程序\WindowsFormsApplication1\WindowsFormsApplication1\Form4.cs
?????文件???????6011??2011-06-30?19:23??招聘管理系統(tǒng)\源程序\WindowsFormsApplication1\WindowsFormsApplication1\Form4.Designer.cs
?????文件???????5814??2011-06-30?19:23??招聘管理系統(tǒng)\源程序\WindowsFormsApplication1\WindowsFormsApplication1\Form4.resx
?????文件???????1707??2011-06-30?19:23??招聘管理系統(tǒng)\源程序\WindowsFormsApplication1\WindowsFormsApplication1\Form5.cs
?????文件???????3967??2011-06-30?19:23??招聘管理系統(tǒng)\源程序\WindowsFormsApplication1\WindowsFormsApplication1\Form5.Designer.cs
?????文件???????5814??2011-06-30?19:23??招聘管理系統(tǒng)\源程序\WindowsFormsApplication1\WindowsFormsApplication1\Form5.resx
?????文件???????1653??2011-06-30?19:23??招聘管理系統(tǒng)\源程序\WindowsFormsApplication1\WindowsFormsApplication1\Form6.cs
?????文件???????3935??2011-06-30?19:23??招聘管理系統(tǒng)\源程序\WindowsFormsApplication1\WindowsFormsApplication1\Form6.Designer.cs
?????文件???????5814??2011-06-30?19:23??招聘管理系統(tǒng)\源程序\WindowsFormsApplication1\WindowsFormsApplication1\Form6.resx
?????文件???????2184??2011-06-30?11:12??招聘管理系統(tǒng)\源程序\WindowsFormsApplication1\WindowsFormsApplication1\Form7.cs
?????文件???????5715??2011-06-30?11:12??招聘管理系統(tǒng)\源程序\WindowsFormsApplication1\WindowsFormsApplication1\Form7.Designer.cs
?????文件???????5814??2011-06-30?11:12??招聘管理系統(tǒng)\源程序\WindowsFormsApplication1\WindowsFormsApplication1\Form7.resx
............此處省略49個(gè)文件信息
評(píng)論
共有 條評(píng)論