資源簡介
大二實訓做的一個連接SQL數據庫的winform程序,使用了三層架構(說實話我也不太清楚到底能否稱為三層架構,大神輕噴)實現了對數據庫的增刪查改和導出,由于連接字符串使用相對路徑會出現一些問題,所以使用了絕對路徑,運行需要將文件夾放在桌面,計算機用戶名要為Administrator,不然會報錯

代碼片段和文件信息
//------------------------------------------------------------------------------
//?
//?????此代碼由工具生成。
//?????運行時版本:4.0.30319.42000
//
//?????對此文件的更改可能會導致不正確的行為,并且如果
//?????重新生成代碼,這些更改將會丟失。
//?
//------------------------------------------------------------------------------
#pragma?warning?disable?1591
namespace?WindowsFormsApp1?{
????
????
????///?
????///Represents?a?strongly?typed?in-memory?cache?of?data.
????///
????[global::System.Serializable()]
????[global::System.ComponentModel.DesignerCategoryAttribute(“code“)]
????[global::System.ComponentModel.ToolboxItem(true)]
????[global::System.xml.Serialization.xmlSchemaProviderAttribute(“GetTypedDataSetSchema“)]
????[global::System.xml.Serialization.xmlRootAttribute(“DBDataSet“)]
????[global::System.ComponentModel.Design.HelpKeywordAttribute(“vs.data.DataSet“)]
????public?partial?class?DBDataSet?:?global::System.Data.DataSet?{
????????
????????private?renliDataTable?tablerenli;
????????
????????private?global::System.Data.SchemaSerializationMode?_schemaSerializationMode?=?global::System.Data.SchemaSerializationMode.IncludeSchema;
????????
????????[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
????????[global::System.CodeDom.Compiler.GeneratedCodeAttribute(“System.Data.Design.TypedDataSetGenerator“?“15.0.0.0“)]
????????public?DBDataSet()?{
????????????this.BeginInit();
????????????this.InitClass();
????????????global::System.ComponentModel.CollectionchangeEventHandler?schemaChangedHandler?=?new?global::System.ComponentModel.CollectionchangeEventHandler(this.SchemaChanged);
????????????base.Tables.Collectionchanged?+=?schemaChangedHandler;
????????????base.Relations.Collectionchanged?+=?schemaChangedHandler;
????????????this.EndInit();
????????}
????????
????????[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
????????[global::System.CodeDom.Compiler.GeneratedCodeAttribute(“System.Data.Design.TypedDataSetGenerator“?“15.0.0.0“)]
????????protected?DBDataSet(global::System.Runtime.Serialization.SerializationInfo?info?global::System.Runtime.Serialization.StreamingContext?context)?:?
????????????????base(info?context?false)?{
????????????if?((this.IsBinarySerialized(info?context)?==?true))?{
????????????????this.InitVars(false);
????????????????global::System.ComponentModel.CollectionchangeEventHandler?schemaChangedHandler1?=?new?global::System.ComponentModel.CollectionchangeEventHandler(this.SchemaChanged);
????????????????this.Tables.Collectionchanged?+=?schemaChangedHandler1;
????????????????this.Relations.Collectionchanged?+=?schemaChangedHandler1;
????????????????return;
????????????}
????????????string?strSchema?=?((string)(info.GetValue(“xmlSchema“?typeof(string))));
????????????if?((this.DetermineSchemaSerializationMode(info?context)?==?global::System.Data.SchemaSerializationMode.IncludeSchema))?{
????????????????global::System.Data.DataSet?ds?=?new?global::S
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-01-17?13:00??實訓\
?????目錄???????????0??2018-01-17?13:00??實訓\.vs\
?????目錄???????????0??2018-01-17?13:00??實訓\.vs\程序\
?????目錄???????????0??2018-01-17?13:00??實訓\.vs\程序\v15\
?????文件??????145408??2018-01-10?21:01??實訓\.vs\程序\v15\.suo
?????目錄???????????0??2018-01-17?13:00??實訓\.vs\程序\v15\Server\
?????目錄???????????0??2018-01-17?13:00??實訓\.vs\程序\v15\Server\sqlite3\
?????文件???????????0??2017-12-31?20:55??實訓\.vs\程序\v15\Server\sqlite3\db.lock
?????文件?????1015808??2018-01-10?21:01??實訓\.vs\程序\v15\Server\sqlite3\storage.ide
?????目錄???????????0??2018-01-17?13:00??實訓\WindowsFormsApp1.BLL\
?????目錄???????????0??2018-01-17?13:00??實訓\WindowsFormsApp1.BLL\bin\
?????目錄???????????0??2018-01-17?13:00??實訓\WindowsFormsApp1.BLL\bin\Debug\
?????文件????????6144??2018-01-10?18:40??實訓\WindowsFormsApp1.BLL\bin\Debug\WindowsFormsApp1.BLL.dll
?????文件???????22016??2018-01-10?18:40??實訓\WindowsFormsApp1.BLL\bin\Debug\WindowsFormsApp1.BLL.pdb
?????文件???????11776??2018-01-10?18:40??實訓\WindowsFormsApp1.BLL\bin\Debug\WindowsFormsApp1.DAL.dll
?????文件???????30208??2018-01-10?18:40??實訓\WindowsFormsApp1.BLL\bin\Debug\WindowsFormsApp1.DAL.pdb
?????文件????????6656??2018-01-09?02:54??實訓\WindowsFormsApp1.BLL\bin\Debug\WindowsFormsApp1.Models.dll
?????文件???????22016??2018-01-09?02:54??實訓\WindowsFormsApp1.BLL\bin\Debug\WindowsFormsApp1.Models.pdb
?????目錄???????????0??2018-01-01?20:32??實訓\WindowsFormsApp1.BLL\bin\Release\
?????文件????????1203??2018-01-09?02:33??實訓\WindowsFormsApp1.BLL\gongziManage.cs
?????文件????????1247??2018-01-09?02:34??實訓\WindowsFormsApp1.BLL\jiangfaManage.cs
?????目錄???????????0??2018-01-17?13:00??實訓\WindowsFormsApp1.BLL\obj\
?????目錄???????????0??2018-01-17?13:00??實訓\WindowsFormsApp1.BLL\obj\Debug\
?????文件????????6932??2018-01-09?02:31??實訓\WindowsFormsApp1.BLL\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
?????文件???????????0??2018-01-01?20:21??實訓\WindowsFormsApp1.BLL\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
?????文件???????????0??2018-01-01?20:21??實訓\WindowsFormsApp1.BLL\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
?????文件???????????0??2018-01-01?20:21??實訓\WindowsFormsApp1.BLL\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
?????目錄???????????0??2018-01-01?20:21??實訓\WindowsFormsApp1.BLL\obj\Debug\TempPE\
?????文件???????????0??2018-01-10?18:40??實訓\WindowsFormsApp1.BLL\obj\Debug\WindowsFormsApp1.BLL.csproj.CopyComplete
?????文件??????????42??2018-01-09?02:31??實訓\WindowsFormsApp1.BLL\obj\Debug\WindowsFormsApp1.BLL.csproj.CoreCompileInputs.cache
?????文件????????4244??2018-01-09?00:14??實訓\WindowsFormsApp1.BLL\obj\Debug\WindowsFormsApp1.BLL.csproj.FileListAbsolute.txt
............此處省略181個文件信息
- 上一篇:c#書店管理系統
- 下一篇:小說網ASP.net源碼
評論
共有 條評論