-
大小: 929KB文件類型: .rar金幣: 2下載: 0 次發(fā)布日期: 2021-05-10
- 語言: C#
- 標(biāo)簽: c#??sqlserver??數(shù)據(jù)庫??
資源簡介
倉庫信息管理系統(tǒng),對進(jìn)出貨物進(jìn)行管理,貨物由貨物號作為主鍵,貨物名稱,貨物價格,貨物庫存以及貨物商等標(biāo)識,以及倉庫管理人員的添加,修改,刪除,以及對密碼的管理。需要對貨物的添加,修改,刪除,對貨物的入庫,出庫,貨物數(shù)量,經(jīng)手人,以及進(jìn)出時間進(jìn)行記錄,當(dāng)貨物進(jìn)行入庫出庫操作時,則在數(shù)據(jù)庫中會有相應(yīng)改變,以達(dá)到倉庫貨物的管理

代碼片段和文件信息
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.Data.SqlClient;
namespace?倉庫信息管理系統(tǒng)
{
????public?partial?class?ChangePassword?:?Form
????{
????????public?ChangePassword()
????????{
????????????InitializeComponent();
????????}
????????private?void?ChangePassword_Load(object?sender?EventArgs?e)
????????{
????????}
????????private?void?button1_Click(object?sender?EventArgs?e)
????????{
????????????if?(!(this.textBox2.Text?==?this.textBox3.Text)?||?(this.textBox2.Text.Length?==?0))
????????????{
????????????????MessageBox.Show(“兩次密碼輸入不一致!“?“信息提示“?MessageBoxButtons.OK?MessageBoxIcon.Information);
????????????????return;
????????????}
????????????String?MySQLConnectionString?=?“Data?Source=.;initial?catalog=Cangku;integrated?security=SSPI“;
??????
????????????String?MySQL?=?“Update?[User]?Set?Password=‘“?+?this.textBox2.Text?+?“‘Where?UserName=‘“?+?this.textBox4.Text?+?“‘AND?Password=‘“?+?this.textBox1.Text?+?“‘“;
????????????
????????????SqlConnection?Myconnection?=?new?SqlConnection(MySQLConnectionString);
???????????
????????????SqlCommand?MyCommand?=?new?SqlCommand(MySQL?Myconnection);
????????????
????????????MyCommand.Connection.Open();
????????????
????????????int?MyCount?=?MyCommand.ExecuteNonQuery();
????????????
????????????if?(MyCount?==?1)
????????????{
????????????????MessageBox.Show(“修改密碼成功!“?“信息提示“?MessageBoxButtons.OK?MessageBoxIcon.Information);
????????????}
????????????else
????????????{
????????????????MessageBox.Show(“修改密碼失?。 ?“信息提示“?MessageBoxButtons.OK?MessageBoxIcon.Information);
????????????}
????????????
????????????if?(Myconnection.State?==?ConnectionState.Open)
????????????{
????????????????Myconnection.Close();
????????????}
????????}
????????private?void?button2_Click(object?sender?EventArgs?e)
????????{
????????????this.Close();
????????}
????}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????1048576??2011-01-06?00:48??數(shù)據(jù)庫課程設(shè)計\CangKu_Data.MDF
?????文件????1048576??2011-01-06?00:48??數(shù)據(jù)庫課程設(shè)計\CangKu_Log.LDF
?????文件??????87040??2011-01-04?09:24??數(shù)據(jù)庫課程設(shè)計\倉庫信息管理系統(tǒng)\倉庫信息管理系統(tǒng)\bin\Debug\倉庫信息管理系統(tǒng).exe
?????文件?????105984??2011-01-04?09:24??數(shù)據(jù)庫課程設(shè)計\倉庫信息管理系統(tǒng)\倉庫信息管理系統(tǒng)\bin\Debug\倉庫信息管理系統(tǒng).pdb
?????文件??????14328??2011-01-06?00:21??數(shù)據(jù)庫課程設(shè)計\倉庫信息管理系統(tǒng)\倉庫信息管理系統(tǒng)\bin\Debug\倉庫信息管理系統(tǒng).vshost.exe
?????文件????????490??2007-07-21?02:33??數(shù)據(jù)庫課程設(shè)計\倉庫信息管理系統(tǒng)\倉庫信息管理系統(tǒng)\bin\Debug\倉庫信息管理系統(tǒng).vshost.exe.manifest
?????文件???????2125??2010-12-31?18:04??數(shù)據(jù)庫課程設(shè)計\倉庫信息管理系統(tǒng)\倉庫信息管理系統(tǒng)\ChangePassword.cs
?????文件???????7921??2010-12-31?18:04??數(shù)據(jù)庫課程設(shè)計\倉庫信息管理系統(tǒng)\倉庫信息管理系統(tǒng)\ChangePassword.Designer.cs
?????文件???????5814??2010-12-31?18:04??數(shù)據(jù)庫課程設(shè)計\倉庫信息管理系統(tǒng)\倉庫信息管理系統(tǒng)\ChangePassword.resx
?????文件???????6822??2011-01-04?08:56??數(shù)據(jù)庫課程設(shè)計\倉庫信息管理系統(tǒng)\倉庫信息管理系統(tǒng)\GoodsAdd.cs
?????文件??????12735??2011-01-04?08:56??數(shù)據(jù)庫課程設(shè)計\倉庫信息管理系統(tǒng)\倉庫信息管理系統(tǒng)\GoodsAdd.Designer.cs
?????文件???????5814??2011-01-04?08:56??數(shù)據(jù)庫課程設(shè)計\倉庫信息管理系統(tǒng)\倉庫信息管理系統(tǒng)\GoodsAdd.resx
?????文件???????4798??2011-01-04?00:21??數(shù)據(jù)庫課程設(shè)計\倉庫信息管理系統(tǒng)\倉庫信息管理系統(tǒng)\GoodsModify.cs
?????文件??????10844??2011-01-04?00:13??數(shù)據(jù)庫課程設(shè)計\倉庫信息管理系統(tǒng)\倉庫信息管理系統(tǒng)\GoodsModify.Designer.cs
?????文件???????5814??2011-01-04?00:13??數(shù)據(jù)庫課程設(shè)計\倉庫信息管理系統(tǒng)\倉庫信息管理系統(tǒng)\GoodsModify.resx
?????文件???????4608??2011-01-04?08:45??數(shù)據(jù)庫課程設(shè)計\倉庫信息管理系統(tǒng)\倉庫信息管理系統(tǒng)\obj\Debug\TempPE\Properties.Resources.Designer.cs.dll
?????文件????????180??2011-01-04?08:47??數(shù)據(jù)庫課程設(shè)計\倉庫信息管理系統(tǒng)\倉庫信息管理系統(tǒng)\obj\Debug\倉庫信息管理系統(tǒng).ChangePassword.resources
?????文件???????4259??2011-01-06?00:21??數(shù)據(jù)庫課程設(shè)計\倉庫信息管理系統(tǒng)\倉庫信息管理系統(tǒng)\obj\Debug\倉庫信息管理系統(tǒng).csproj.FileListAbsolute.txt
?????文件???????1449??2011-01-04?09:24??數(shù)據(jù)庫課程設(shè)計\倉庫信息管理系統(tǒng)\倉庫信息管理系統(tǒng)\obj\Debug\倉庫信息管理系統(tǒng).csproj.GenerateResource.Cache
?????文件??????87040??2011-01-04?09:24??數(shù)據(jù)庫課程設(shè)計\倉庫信息管理系統(tǒng)\倉庫信息管理系統(tǒng)\obj\Debug\倉庫信息管理系統(tǒng).exe
?????文件????????180??2011-01-04?09:24??數(shù)據(jù)庫課程設(shè)計\倉庫信息管理系統(tǒng)\倉庫信息管理系統(tǒng)\obj\Debug\倉庫信息管理系統(tǒng).GoodsAdd.resources
?????文件????????180??2011-01-04?08:47??數(shù)據(jù)庫課程設(shè)計\倉庫信息管理系統(tǒng)\倉庫信息管理系統(tǒng)\obj\Debug\倉庫信息管理系統(tǒng).GoodsModify.resources
?????文件?????105984??2011-01-04?09:24??數(shù)據(jù)庫課程設(shè)計\倉庫信息管理系統(tǒng)\倉庫信息管理系統(tǒng)\obj\Debug\倉庫信息管理系統(tǒng).pdb
?????文件??????44080??2011-01-04?08:47??數(shù)據(jù)庫課程設(shè)計\倉庫信息管理系統(tǒng)\倉庫信息管理系統(tǒng)\obj\Debug\倉庫信息管理系統(tǒng).Properties.Resources.resources
?????文件????????180??2011-01-04?08:47??數(shù)據(jù)庫課程設(shè)計\倉庫信息管理系統(tǒng)\倉庫信息管理系統(tǒng)\obj\Debug\倉庫信息管理系統(tǒng).UserAdd.resources
?????文件????????180??2011-01-04?08:47??數(shù)據(jù)庫課程設(shè)計\倉庫信息管理系統(tǒng)\倉庫信息管理系統(tǒng)\obj\Debug\倉庫信息管理系統(tǒng).UserDel.resources
?????文件????????180??2011-01-04?08:47??數(shù)據(jù)庫課程設(shè)計\倉庫信息管理系統(tǒng)\倉庫信息管理系統(tǒng)\obj\Debug\倉庫信息管理系統(tǒng).UserModify.resources
?????文件????????180??2011-01-04?08:47??數(shù)據(jù)庫課程設(shè)計\倉庫信息管理系統(tǒng)\倉庫信息管理系統(tǒng)\obj\Debug\倉庫信息管理系統(tǒng).Users.resources
?????文件????????180??2011-01-04?09:24??數(shù)據(jù)庫課程設(shè)計\倉庫信息管理系統(tǒng)\倉庫信息管理系統(tǒng)\obj\Debug\倉庫信息管理系統(tǒng).主界面.resources
?????文件????????180??2011-01-04?08:47??數(shù)據(jù)庫課程設(shè)計\倉庫信息管理系統(tǒng)\倉庫信息管理系統(tǒng)\obj\Debug\倉庫信息管理系統(tǒng).歡迎界面.resources
............此處省略49個文件信息
- 上一篇:用于驗證碼圖片識別的類C#源碼
- 下一篇:C#對TXT讀寫
評論
共有 條評論