欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

C#實(shí)現(xiàn)圖書管理系統(tǒng)

 更新時(shí)間:2022年02月21日 16:23:26   作者:Hui110110  
這篇文章主要為大家詳細(xì)介紹了C#實(shí)現(xiàn)圖書管理系統(tǒng),文中示例代碼介紹的非常詳細(xì),具有一定的參考價(jià)值,感興趣的小伙伴們可以參考一下

本文為大家分享了C#實(shí)現(xiàn)圖書管理系統(tǒng)課程設(shè)計(jì),供大家參考,具體內(nèi)容如下

一、設(shè)計(jì)目的

通過(guò)模擬圖書管理系統(tǒng),實(shí)現(xiàn)以下功能
學(xué)生賬號(hào)的注冊(cè)
學(xué)生對(duì)館藏圖書狀況的查詢
學(xué)生借書,還書狀態(tài)的查詢
學(xué)生借書以及歸還圖書
學(xué)生欠款的查詢

二、框架分析

數(shù)據(jù)庫(kù)主要包括:

學(xué)生表:學(xué)生學(xué)號(hào),學(xué)生姓名,學(xué)生性別,學(xué)生類型,學(xué)生密碼
圖書表:圖書編號(hào),圖書名,圖書出版社,圖書作者,圖書狀態(tài)(1代表可以借,0代表不可以,)圖書類型,圖書出版日期
借書表:學(xué)生號(hào),圖書號(hào),圖書名,借出日期
還書表:學(xué)生號(hào),圖書號(hào),圖書名,歸還日期
欠費(fèi)金額表:學(xué)生號(hào),圖書號(hào),圖書名,欠費(fèi)金額(超過(guò)30天每天收0.3元)

三、實(shí)驗(yàn)環(huán)境

VS2013,SQLSERVER2014

四、體系結(jié)構(gòu)

在客戶端與數(shù)據(jù)庫(kù)之間增加了一個(gè)“中間層”,分為表示層,業(yè)務(wù)邏輯層,數(shù)據(jù)訪問(wèn)層
表示層:為客戶提供對(duì)應(yīng)程序的訪問(wèn)
業(yè)務(wù)邏輯層:以類庫(kù)的形式為表示層服務(wù)
數(shù)據(jù)訪問(wèn)層:實(shí)現(xiàn)整個(gè)系統(tǒng)的數(shù)據(jù)庫(kù)連接,數(shù)據(jù)庫(kù)存取操作,以組件類庫(kù)的形式為業(yè)務(wù)邏輯層提供服務(wù)

五、代碼實(shí)現(xiàn)

數(shù)據(jù)庫(kù)的建立:

create ?database MyLibrary?
?on ?
?(name=Mylibrary_data1,?
? filename='d:\Mylibrary_data1.mdf',
? size=10,
? ?maxsize=50, filegrowth=4)
log on?
?(name=Mylibrary_log1, ?
?filename='d:\Mylibrary_log1.ldf',
? ?size=10MB,
? ?maxsize=20MB,?
? ?filegrowth=2MB)?
use MyLibrary;
create table reader(
readerid varchar(20) primary key,
readername varchar(20) not null,
readersex varchar(20) not null,
readertype varchar(20) not null,
readerpd varchar(20) not null
)
create table book(
bookid varchar(20) primary key,
booktype varchar(20) not null,
bookauthor varchar(20) not null,
bookname varchar(20) not null,
isbrrowed varchar(20) not null,
booklibrary varchar(20) not null,
bookpubdate datetime
)
create table brrow_data(
readerid varchar(20) primary key,
bookid varchar(20) ,
bookname varchar(20),
brrowdate datetime
foreign key (readerid) references reader(readerid),
foreign key (bookid) references book(bookid)
)
create table return_record(
readerid varchar (20) primary key,
bookid varchar(20),
bookname varchar(20),
returndate datetime,
foreign key (readerid) references reader(readerid),
foreign key (bookid) references book(bookid)
)
create table readerfee(
readerid varchar(20) primary key,
bookid varchar(20),
bookname varchar(20),
readerpay varchar(20),
foreign key (readerid) references reader(readerid),
foreign key (bookid) references book(bookid)
)
--已有圖書插如表中
insert into book (bookid,bookname,booktype,bookauthor,booklibrary,bookpubdate,isbrrowed) values ('3140921000','縹緲之旅','修真','小豬','仙王出版社','2005-09-01','否');
insert into book (bookid,bookname,booktype,bookauthor,booklibrary,bookpubdate,isbrrowed) values ('3140921001','唐朝好男人','穿越','多一半','新星出版社','2005-07-01','否');
insert into book (bookid,bookname,booktype,bookauthor,booklibrary,bookpubdate,isbrrowed) values ('3140921002','鬼吹燈','恐怖','天下霸唱','安徽文藝出版社','2005-09-01','否');
insert into book (bookid,bookname,booktype,bookauthor,booklibrary,bookpubdate,isbrrowed) values ('3140921003','和空姐同居的日子','都市','海王','中國(guó)海關(guān)出版社','2005-08-01','否');
insert into book (bookid,bookname,booktype,bookauthor,booklibrary,bookpubdate,isbrrowed) values ('3140921004','卡圖','科幻','方向','廣西人民出版社','2005-06-01','否');
insert into book (bookid,bookname,booktype,bookauthor,booklibrary,bookpubdate,isbrrowed) values ('3140921005','蜀山劍俠傳','仙俠','還珠樓主','陜西人民出版社','2005-04-01','否');
insert into book (bookid,bookname,booktype,bookauthor,booklibrary,bookpubdate,isbrrowed) values ('3140921006','何以笙簫默','言情','顧漫','朝華出版社','2005-05-01','否');
insert into book (bookid,bookname,booktype,bookauthor,booklibrary,bookpubdate,isbrrowed) values ('3140921007','步步驚心','穿越','童話','民族出版社','2005-12-01','否');
--將讀者插如表中
insert into reader(readerid,readername,readersex,readertype,readerpd) values ('21007000','李磊','男','學(xué)生','000000');
insert into reader(readerid,readername,readersex,readertype,readerpd) values ('21007001','棠張僧','男','學(xué)生','000000');
insert into reader(readerid,readername,readersex,readertype,readerpd) values ('21007002','韓梅梅','女','學(xué)生','000000');
insert into reader(readerid,readername,readersex,readertype,readerpd) values ('21007003','路西','女','學(xué)生','000000');
insert into reader(readerid,readername,readersex,readertype,readerpd) values ('21007004','王強(qiáng)','男','學(xué)生','000000');
insert into reader(readerid,readername,readersex,readertype,readerpd) values ('21007005','馬正標(biāo)','男','管理','000000');
insert into reader(readerid,readername,readersex,readertype,readerpd) values ('21007006','盧海鵬','男','管理','000000');
insert into reader(readerid,readername,readersex,readertype,readerpd) values ('21007007','李艷玲','女','管理','000000');
--查詢功能
select *from reader;
select *from book;
select *from brrow_data;
select *from return_record;
select *from readerfee;
--刪除表
drop table reader;
drop table book;
drop table brrow_data;
drop table return_record;
drop table readerfee;

登錄界面的編輯

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Data.SqlClient;

namespace Library
{
? ? public partial class Form1 : Form
? ? {
? ? ? ? public Form1()
? ? ? ? {
? ? ? ? ? ? InitializeComponent();
? ? ? ? }

? ? ? ? private void panel1_Paint(object sender, PaintEventArgs e)
? ? ? ? {

? ? ? ? }
? ? ? ? //登錄按鈕
? ? ? ? private void button1_Click(object sender, EventArgs e)
? ? ? ? {
? ? ? ? ? ? Form2 form2 = new Form2();
? ? ? ? ? ? this.Hide();
? ? ? ? ? ? form2.Show();
? ? ? ? ? ? mycon.Close();
? ? ? ? ? ? //sql = string.Format("select count(*) from reader where readerid='{0}'",textBox1.Text);
? ? ? ? ? ? //SqlCommand com = new SqlCommand(sql,mycon);
? ? ? ? ? ? //int count = (int)com.ExecuteScalar();
? ? ? ? ? ? //if (count==1)
? ? ? ? ? ? //{
? ? ? ? ? ? // ? ?sql = string.Format("select count(*) from reader where readerpd='{0}'",textBox2.Text);
? ? ? ? ? ? // ? ?com = new SqlCommand(sql, mycon);
? ? ? ? ? ? // ? ?count = (int)com.ExecuteScalar();
? ? ? ? ? ? // ? ?if (count>=1)
? ? ? ? ? ? // ? ?{
? ? ? ? ? ? // ? ? ? ?if (comboBox1.Text=="學(xué)生")
? ? ? ? ? ? // ? ? ? ?{
? ? ? ? ? ? // ? ? ? ? ? ?Form2 form2 = new Form2();
? ? ? ? ? ? // ? ? ? ? ? ?this.Hide();
? ? ? ? ? ? // ? ? ? ? ? ?form2.Show();
? ? ? ? ? ? ? ? ? ? ? ? ? form2.readerid = textBox1.Text;
? ? ? ? ? ? // ? ? ? ? ? ?mycon.Close();
? ? ? ? ? ? // ? ? ? ?}
? ? ? ? ? ? // ? ? ? ?else if (comboBox1.Text=="管理員")
? ? ? ? ? ? // ? ? ? ?{
? ? ? ? ? ? // ? ? ? ? ? ?Form4 form4 = new Form4();
? ? ? ? ? ? // ? ? ? ? ? ?this.Hide();
? ? ? ? ? ? // ? ? ? ? ? ?form4.Show();
? ? ? ? ? ? // ? ? ? ? ? ?mycon.Close();
? ? ? ? ? ? // ? ? ? ?}
? ? ? ? ? ? // ? ? ? ?else
? ? ? ? ? ? // ? ? ? ?{
? ? ? ? ? ? // ? ? ? ? ? ?MessageBox.Show("請(qǐng)選擇您的身份!");
? ? ? ? ? ? // ? ? ? ?}
? ? ? ? ? ? // ? ?}
? ? ? ? ? ? // ? ?else
? ? ? ? ? ? // ? ?{
? ? ? ? ? ? // ? ? ? ?MessageBox.Show("密碼錯(cuò)誤,請(qǐng)重新輸入!");
? ? ? ? ? ? // ? ?}
? ? ? ? ? ? //}
? ? ? ? ? ? //else{
? ? ? ? ? ? // ? ?MessageBox.Show("賬號(hào)不存在,請(qǐng)重新輸入!");
? ? ? ? ? ? //}
? ? ? ? }
? ? ? ? string sql, con;
? ? ? ? SqlConnection mycon;
? ? ? ? //加載事件
? ? ? ? private void Form1_Load(object sender, EventArgs e)
? ? ? ? {
? ? ? ? ? ? con = "Server=.;Database=MyLibrary;Trusted_Connection=SSPI";
? ? ? ? ? ? mycon = new SqlConnection(con);
? ? ? ? ? ? mycon.Open();
? ? ? ? }
? ? ? ? //注冊(cè)
? ? ? ? private void button2_Click(object sender, EventArgs e)
? ? ? ? {
? ? ? ? ? ? Form3 form3 = new Form3();
? ? ? ? ? ? this.Hide();
? ? ? ? ? ? form3.Show();
? ? ? ? }
? ? }
}

注冊(cè)界面的編輯

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Data.SqlClient;

namespace Library
{
? ? public partial class Form3 : Form
? ? {
? ? ? ? public Form3()
? ? ? ? {
? ? ? ? ? ? InitializeComponent();
? ? ? ? }

? ? ? ? private void label3_Click(object sender, EventArgs e)
? ? ? ? {

? ? ? ? }

? ? ? ? private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
? ? ? ? {

? ? ? ? }
? ? ? ? //提交申請(qǐng)
? ? ? ? private void button1_Click(object sender, EventArgs e)
? ? ? ? {
? ? ? ? ? ? sql = string.Format("select count(*) from reader where readerpd='{0}'", textBox2.Text);
? ? ? ? ? ? SqlCommand com = new SqlCommand(sql, mycon);
? ? ? ? ? ? int count = (int)com.ExecuteScalar();
? ? ? ? ? ? if (count==1)
? ? ? ? ? ? {
? ? ? ? ? ? ? ? MessageBox.Show("抱歉,該賬號(hào)已存在!");
? ? ? ? ? ? }
? ? ? ? ? ? else?
? ? ? ? ? ? {
? ? ? ? ? ? ? ? if (textBox1.Text==""||textBox2.Text==""||textBox4.Text==""||comboBox1.Text==""||textBox3.Text=="")
? ? ? ? ? ? ? ? {
? ? ? ? ? ? ? ? ? ? MessageBox.Show("請(qǐng)將信息填寫完整!");
? ? ? ? ? ? ? ? }
? ? ? ? ? ? ? ? else
? ? ? ? ? ? ? ? {
? ? ? ? ? ? ? ? ? ? Form1 form1 = new Form1();
? ? ? ? ? ? ? ? ? ? form1.Show();
? ? ? ? ? ? ? ? ? ? this.Hide();
? ? ? ? ? ? ? ? }
? ? ? ? ? ? }
? ? ? ? }
? ? ? ? string sql, con;
? ? ? ? SqlConnection mycon;

? ? ? ? private void Form3_Load(object sender, EventArgs e)
? ? ? ? {
? ? ? ? ? ? con = "Server=.;Database=MyLibrary;Trusted_Connection=SSPI";
? ? ? ? ? ? mycon = new SqlConnection(con);
? ? ? ? ? ? mycon.Open();
? ? ? ? }
? ? }
}

學(xué)生管理界面的編輯

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Data.SqlClient;

namespace Library
{
? ? public partial class Form2 : Form
? ? {
? ? ? ? public Form2()
? ? ? ? {
? ? ? ? ? ? InitializeComponent();
? ? ? ? }

? ? ? ? public string readerid;
? ? ? ? string sql, con;
? ? ? ? SqlConnection mycon;
? ? ? ? SqlCommand com;
? ? ? ? //加載事件
? ? ? ? private void Form2_Load(object sender, EventArgs e)
? ? ? ? {
? ? ? ? ? ? label1.Hide(); textBox1.Hide(); button4.Hide();
? ? ? ? ? ? dataGridView1.Hide();
? ? ? ? ? ? con = "Server=.;Database=MyLibrary;Trusted_Connection=SSPI";
? ? ? ? ? ? mycon = new SqlConnection(con);
? ? ? ? ? ? mycon.Open();
? ? ? ? }
? ? ? ? //個(gè)人信息
? ? ? ? private void button1_Click(object sender, EventArgs e)
? ? ? ? {
? ? ? ? ? ? dataGridView1.Show(); label1.Hide(); textBox1.Hide(); button4.Hide();
? ? ? ? ? ? sql = string.Format("select * from reader where readerid='{0}'", readerid);
? ? ? ? ? ? SqlDataAdapter mydata = new SqlDataAdapter(sql, con);
? ? ? ? ? ? DataSet myds = new DataSet();
? ? ? ? ? ? mydata.Fill(myds, "reader");
? ? ? ? ? ? dataGridView1.DataSource = myds.Tables["reader"];
? ? ? ? }
? ? ? ? //圖書信息
? ? ? ? private void button2_Click(object sender, EventArgs e)
? ? ? ? {
? ? ? ? ? ? dataGridView1.Show(); label1.Hide(); textBox1.Hide(); button4.Hide();
? ? ? ? ? ? sql = "select * from book";
? ? ? ? ? ? SqlDataAdapter mydata = new SqlDataAdapter(sql, con);
? ? ? ? ? ? DataSet myds = new DataSet();
? ? ? ? ? ? mydata.Fill(myds, "book");
? ? ? ? ? ? dataGridView1.DataSource = myds.Tables["book"];
? ? ? ? }
? ? ? ? //繳費(fèi)系統(tǒng)
? ? ? ? private void button3_Click(object sender, EventArgs e)
? ? ? ? {
? ? ? ? ? ? try
? ? ? ? ? ? {
? ? ? ? ? ? ? ? sql = string.Format("insert into readerfee(readerid,bookid,bookname,readerpay)select readerid ,bookid , bookname,0.03*(datediff(day,convert(smalldatetime,brrowdate),getdate())-30) from brrow_data where datediff(day,convert(smalldatetime,brrowdate),getdate())>=0;");
? ? ? ? ? ? ? ? com = new SqlCommand();
? ? ? ? ? ? ? ? com.Connection = mycon;
? ? ? ? ? ? ? ? com.CommandType = CommandType.Text;
? ? ? ? ? ? ? ? com.CommandText = sql;
? ? ? ? ? ? ? ? SqlDataReader dr = com.ExecuteReader();
? ? ? ? ? ? ? ? dr.Close();
? ? ? ? ? ? }
? ? ? ? ? ? catch { }
? ? ? ? ? ? sql = string.Format("select * from readerfee where readerid='{0}'", readerid);
? ? ? ? ? ? SqlDataAdapter mydata = new SqlDataAdapter(sql, con);
? ? ? ? ? ? DataSet myds = new DataSet();
? ? ? ? ? ? mydata.Fill(myds, "readerfee");
? ? ? ? ? ? dataGridView1.DataSource = myds.Tables["readerfee"];
? ? ? ? }
? ? ? ? //借還記錄
? ? ? ? private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
? ? ? ? {
? ? ? ? ? ? dataGridView1.Show(); label1.Hide(); textBox1.Hide(); button4.Hide();
? ? ? ? ? ? if (comboBox1.Text == "借書記錄")
? ? ? ? ? ? {
? ? ? ? ? ? ? ? sql = string.Format("select * from brrow_data where readerid='{0}'", readerid);
? ? ? ? ? ? ? ? SqlDataAdapter mydata = new SqlDataAdapter(sql, con);
? ? ? ? ? ? ? ? DataSet myds = new DataSet();
? ? ? ? ? ? ? ? mydata.Fill(myds, "reader");
? ? ? ? ? ? ? ? dataGridView1.DataSource = myds.Tables["reader"];
? ? ? ? ? ? }
? ? ? ? ? ? else
? ? ? ? ? ? {
? ? ? ? ? ? ? ? sql = string.Format("select * from return_record where readerid='{0}'", readerid);
? ? ? ? ? ? ? ? SqlDataAdapter mydata = new SqlDataAdapter(sql, con);
? ? ? ? ? ? ? ? DataSet myds = new DataSet();
? ? ? ? ? ? ? ? mydata.Fill(myds, "reader");
? ? ? ? ? ? ? ? dataGridView1.DataSource = myds.Tables["reader"];
? ? ? ? ? ? }
? ? ? ? }

? ? ? ? private void comboBox2_SelectedIndexChanged(object sender, EventArgs e)
? ? ? ? {
? ? ? ? ? ? dataGridView1.Hide();
? ? ? ? ? ? if (comboBox2.Text == "我要借書")
? ? ? ? ? ? {
? ? ? ? ? ? ? ? button4.Show();
? ? ? ? ? ? ? ? button4.Text = "借閱本書";
? ? ? ? ? ? ? ? label1.Text = "搜索書名";
? ? ? ? ? ? ? ? label1.Show();
? ? ? ? ? ? ? ? textBox1.Show();
? ? ? ? ? ? }
? ? ? ? ? ? else if (comboBox2.Text == "我要還書")
? ? ? ? ? ? {
? ? ? ? ? ? ? ? button4.Show();
? ? ? ? ? ? ? ? button4.Text = "歸還本書";
? ? ? ? ? ? ? ? label1.Text = "所借書號(hào)";
? ? ? ? ? ? ? ? label1.Show();
? ? ? ? ? ? ? ? textBox1.Show();
? ? ? ? ? ? }
? ? ? ? }

? ? ? ? private void button4_Click(object sender, EventArgs e)
? ? ? ? {
? ? ? ? ? ? if (button4.Text == "借閱本書")
? ? ? ? ? ? {
? ? ? ? ? ? ? ? sql = string.Format("select count(*) from book where bookname='{0}'", textBox1.Text);
? ? ? ? ? ? ? ? com = new SqlCommand(sql, mycon);
? ? ? ? ? ? ? ? int count = (int)com.ExecuteScalar();
? ? ? ? ? ? ? ? if (count >= 1)
? ? ? ? ? ? ? ? {
? ? ? ? ? ? ? ? ? ? sql = string.Format("select bookid from book where bookname='{0}'", textBox1.Text);
? ? ? ? ? ? ? ? ? ? com = new SqlCommand(sql, mycon);
? ? ? ? ? ? ? ? ? ? string bookid = (string)com.ExecuteScalar();
? ? ? ? ? ? ? ? ? ? sql = string.Format("insert into brrow_data (readerid,bookid,bookname,brrowdate) values('{0}','{1}','{2}','{3}')", readerid, bookid, textBox1.Text, DateTime.Now);
? ? ? ? ? ? ? ? ? ? com = new SqlCommand();
? ? ? ? ? ? ? ? ? ? com.Connection = mycon;
? ? ? ? ? ? ? ? ? ? com.CommandType = CommandType.Text;
? ? ? ? ? ? ? ? ? ? com.CommandText = sql;
? ? ? ? ? ? ? ? ? ? SqlDataReader dr = com.ExecuteReader();
? ? ? ? ? ? ? ? ? ? dr.Close();
? ? ? ? ? ? ? ? ? ? MessageBox.Show("借書成功!");
? ? ? ? ? ? ? ? }
? ? ? ? ? ? ? ? else
? ? ? ? ? ? ? ? ? ? MessageBox.Show("抱歉,不存在本書!");
? ? ? ? ? ? }
? ? ? ? ? ? else if (button4.Text == "歸還本書")
? ? ? ? ? ? {
? ? ? ? ? ? ? ? sql = string.Format("select count(*) from brrow_data where bookid='{0}'", textBox1.Text);
? ? ? ? ? ? ? ? com = new SqlCommand(sql, mycon);
? ? ? ? ? ? ? ? int count = (int)com.ExecuteScalar();
? ? ? ? ? ? ? ? if (count >= 1)
? ? ? ? ? ? ? ? {
? ? ? ? ? ? ? ? ? ? sql = string.Format("select bookname from brrow_data where bookid='{0}'", textBox1.Text);
? ? ? ? ? ? ? ? ? ? com = new SqlCommand(sql, mycon);
? ? ? ? ? ? ? ? ? ? string bookname = (string)com.ExecuteScalar();
? ? ? ? ? ? ? ? ? ? sql = string.Format("insert into return_record(readerid,bookid,bookname,returndate) values ('{0}','{1}','{2}','{3}')", readerid, textBox1.Text, bookname, DateTime.Now);
? ? ? ? ? ? ? ? ? ? com = new SqlCommand();
? ? ? ? ? ? ? ? ? ? com.Connection = mycon;
? ? ? ? ? ? ? ? ? ? com.CommandType = CommandType.Text;
? ? ? ? ? ? ? ? ? ? com.CommandText = sql;
? ? ? ? ? ? ? ? ? ? SqlDataReader dr = com.ExecuteReader();
? ? ? ? ? ? ? ? ? ? dr.Close();
? ? ? ? ? ? ? ? ? ? sql = string.Format("delete ?from brrow_data where bookid='{0}'", textBox1.Text);
? ? ? ? ? ? ? ? ? ? com = new SqlCommand();
? ? ? ? ? ? ? ? ? ? com.Connection = mycon;
? ? ? ? ? ? ? ? ? ? com.CommandType = CommandType.Text;
? ? ? ? ? ? ? ? ? ? com.CommandText = sql;
? ? ? ? ? ? ? ? ? ? SqlDataReader dr1 = com.ExecuteReader();
? ? ? ? ? ? ? ? ? ? dr1.Close();
? ? ? ? ? ? ? ? ? ? MessageBox.Show(bookname + "還書成功!");
? ? ? ? ? ? ? ? }
? ? ? ? ? ? ? ? else
? ? ? ? ? ? ? ? {
? ? ? ? ? ? ? ? ? ? MessageBox.Show("抱歉!您沒(méi)有借這本書!");
? ? ? ? ? ? ? ? }
? ? ? ? ? ? }
? ? ? ? }
? ? }
}

六,心得總結(jié)

通過(guò)對(duì)一系列功能的實(shí)現(xiàn),了解到了如何如何建立數(shù)據(jù)庫(kù)并進(jìn)行增刪改查等基本操作,如何實(shí)現(xiàn)數(shù)據(jù)庫(kù)與winform應(yīng)用程序之間的連接,如何通過(guò)C#語(yǔ)言來(lái)操控?cái)?shù)據(jù)庫(kù)。更重要的是意識(shí)到了三層架構(gòu)的重要性,將會(huì)加強(qiáng)學(xué)習(xí)這一方面。

以上就是本文的全部?jī)?nèi)容,希望對(duì)大家的學(xué)習(xí)有所幫助,也希望大家多多支持腳本之家。

相關(guān)文章

  • Unity實(shí)現(xiàn)簡(jiǎn)單場(chǎng)景分層移動(dòng)

    Unity實(shí)現(xiàn)簡(jiǎn)單場(chǎng)景分層移動(dòng)

    這篇文章主要為大家詳細(xì)介紹了Unity實(shí)現(xiàn)簡(jiǎn)單場(chǎng)景分層移動(dòng),分為前景、場(chǎng)景、背景等,文中示例代碼介紹的非常詳細(xì),具有一定的參考價(jià)值,感興趣的小伙伴們可以參考一下
    2021-09-09
  • 如何在C# 中查找或結(jié)束程序域中的主、子進(jìn)程

    如何在C# 中查找或結(jié)束程序域中的主、子進(jìn)程

    這篇文章主要介紹了如何在C# 中查找或結(jié)束程序域中的主、子進(jìn)程,幫助大家更好的理解和使用c#編程語(yǔ)言,感興趣的朋友可以了解下
    2020-11-11
  • C#實(shí)現(xiàn)聊天窗體以及抖動(dòng)

    C#實(shí)現(xiàn)聊天窗體以及抖動(dòng)

    這篇文章主要為大家詳細(xì)介紹了C#實(shí)現(xiàn)聊天窗體以及抖動(dòng),文中示例代碼介紹的非常詳細(xì),具有一定的參考價(jià)值,感興趣的小伙伴們可以參考一下
    2021-07-07
  • Entity?Framework配置關(guān)系

    Entity?Framework配置關(guān)系

    這篇文章介紹了Entity?Framework配置關(guān)系的方法,文中通過(guò)示例代碼介紹的非常詳細(xì)。對(duì)大家的學(xué)習(xí)或工作具有一定的參考借鑒價(jià)值,需要的朋友可以參考下
    2022-06-06
  • 淺析C# 結(jié)構(gòu)體struct

    淺析C# 結(jié)構(gòu)體struct

    這篇文章主要介紹了C# 結(jié)構(gòu)體struct 的相關(guān)資料,幫助大家更好的理解和學(xué)習(xí)c#,感興趣的朋友可以了解下
    2020-08-08
  • C# 實(shí)現(xiàn)顏色的梯度漸變案例

    C# 實(shí)現(xiàn)顏色的梯度漸變案例

    這篇文章主要介紹了C# 實(shí)現(xiàn)顏色的梯度漸變案例,具有很好的參考價(jià)值,希望對(duì)大家有所幫助。一起跟隨小編過(guò)來(lái)看看吧
    2021-01-01
  • C#編程實(shí)現(xiàn)自定義熱鍵的方法

    C#編程實(shí)現(xiàn)自定義熱鍵的方法

    這篇文章主要介紹了C#編程實(shí)現(xiàn)自定義熱鍵的方法,涉及C#鍵盤按鍵設(shè)置的相關(guān)技巧,具有一定參考借鑒價(jià)值,需要的朋友可以參考下
    2015-08-08
  • C# Onnx實(shí)現(xiàn)DIS高精度圖像二類分割

    C# Onnx實(shí)現(xiàn)DIS高精度圖像二類分割

    這篇文章主要為大家詳細(xì)介紹了C# Onnx實(shí)現(xiàn)DIS高精度圖像二類分割的相關(guān)知識(shí),文中的示例代碼講解詳細(xì),感興趣的小伙伴可以跟隨小編一起學(xué)習(xí)一下
    2023-11-11
  • C#中的自動(dòng)類型轉(zhuǎn)換和強(qiáng)制類型轉(zhuǎn)換

    C#中的自動(dòng)類型轉(zhuǎn)換和強(qiáng)制類型轉(zhuǎn)換

    這篇文章主要介紹了C#中的自動(dòng)類型轉(zhuǎn)換和強(qiáng)制類型轉(zhuǎn)換,非常不錯(cuò),具有一定的參考借鑒價(jià)值 ,需要的朋友可以參考下
    2019-08-08
  • C#利用異步委托實(shí)現(xiàn)獲取線程返回值

    C#利用異步委托實(shí)現(xiàn)獲取線程返回值

    一般來(lái)說(shuō),異步委托主要用于解決 ThreadPool.QueueUserWorkItem 沒(méi)有提供獲取線程執(zhí)行完成后的返回值問(wèn)題,下面我們就來(lái)學(xué)習(xí)一下C#如何利用異步委托實(shí)現(xiàn)獲取線程返回值吧
    2023-12-12

最新評(píng)論