資源簡介
下載后,將數據庫附加進程序里,要把SQL2005express配置好,如果是win7系統,直接把解壓后的文件夾拉到桌面就能用,不是的話,點擊左側資源管理器里bank數據庫,看右下角屬性,把鏈接字符串復制,然后把字符串復制到 SqlConnection conn = new SqlConnection(@"Data Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\Administrator\Desktop\銀行管理系統\銀行管理系統\bank.mdf;Integrated Security=True;User Instance=True");中的引號里面,每個頁面看到這個東西都要改,全改完就能用了

代碼片段和文件信息
//------------------------------------------------------------------------------
//?
//?????此代碼由工具生成。
//?????運行時版本:2.0.50727.4963
//
//?????對此文件的更改可能會導致不正確的行為,并且如果
//?????重新生成代碼,這些更改將會丟失。
//?
//------------------------------------------------------------------------------
#pragma?warning?disable?1591
namespace?銀行管理系統?{
????
????
????///?
????///Represents?a?strongly?typed?in-memory?cache?of?data.
????///
????[global::System.CodeDom.Compiler.GeneratedCodeAttribute(“System.Data.Design.TypedDataSetGenerator“?“2.0.0.0“)]
????[global::System.Serializable()]
????[global::System.ComponentModel.DesignerCategoryAttribute(“code“)]
????[global::System.ComponentModel.ToolboxItem(true)]
????[global::System.xml.Serialization.xmlSchemaProviderAttribute(“GetTypedDataSetSchema“)]
????[global::System.xml.Serialization.xmlRootAttribute(“bankDataSet“)]
????[global::System.ComponentModel.Design.HelpKeywordAttribute(“vs.data.DataSet“)]
????public?partial?class?bankDataSet?:?global::System.Data.DataSet?{
????????
????????private?global::System.Data.SchemaSerializationMode?_schemaSerializationMode?=?global::System.Data.SchemaSerializationMode.IncludeSchema;
????????
????????[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
????????public?bankDataSet()?{
????????????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()]
????????protected?bankDataSet(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::System.Data.DataSet();
????????????????ds.ReadxmlSchema(new?global::System.xml.xmlTextReader(new?global::System.IO.StringReader(strSchema)));
????????????????this.DataSetName?=?ds.Dat
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????437??2012-06-30?16:00??銀行管理系統\銀行管理系統\app.config
?????文件????2293760??2012-07-07?23:40??銀行管理系統\銀行管理系統\bank.mdf
?????文件??????11405??2012-07-01?15:08??銀行管理系統\銀行管理系統\bankDataSet.Designer.cs
?????文件??????????3??2012-06-30?16:00??銀行管理系統\銀行管理系統\bankDataSet.xsc
?????文件???????1641??2012-06-30?16:00??銀行管理系統\銀行管理系統\bankDataSet.xsd
?????文件??????????3??2012-06-30?16:00??銀行管理系統\銀行管理系統\bankDataSet.xss
?????文件?????235223??2012-07-01?15:19??銀行管理系統\銀行管理系統\bankDataSet1.Designer.cs
?????文件??????????3??2012-07-01?15:19??銀行管理系統\銀行管理系統\bankDataSet1.xsc
?????文件??????52834??2012-07-01?15:19??銀行管理系統\銀行管理系統\bankDataSet1.xsd
?????文件??????????3??2012-07-01?15:19??銀行管理系統\銀行管理系統\bankDataSet1.xss
?????文件?????573440??2012-07-07?23:40??銀行管理系統\銀行管理系統\bank_log.LDF
?????文件????2293760??2012-07-05?14:51??銀行管理系統\銀行管理系統\bin\Debug\bank.mdf
?????文件?????573440??2012-07-05?14:51??銀行管理系統\銀行管理系統\bin\Debug\bank_log.ldf
?????文件?????141824??2012-07-05?14:54??銀行管理系統\銀行管理系統\bin\Debug\銀行管理系統.exe
?????文件????????437??2012-06-30?16:00??銀行管理系統\銀行管理系統\bin\Debug\銀行管理系統.exe.config
?????文件?????331264??2012-07-05?14:54??銀行管理系統\銀行管理系統\bin\Debug\銀行管理系統.pdb
?????文件??????14328??2012-07-07?22:54??銀行管理系統\銀行管理系統\bin\Debug\銀行管理系統.vshost.exe
?????文件????????437??2012-06-30?16:00??銀行管理系統\銀行管理系統\bin\Debug\銀行管理系統.vshost.exe.config
?????文件????????490??2009-06-11?05:14??銀行管理系統\銀行管理系統\bin\Debug\銀行管理系統.vshost.exe.manifest
?????文件????????260??2012-07-03?21:46??銀行管理系統\銀行管理系統\Class1.cs
?????文件????????837??2012-07-02?20:21??銀行管理系統\銀行管理系統\Form1.cs
?????文件???????4196??2012-07-02?15:04??銀行管理系統\銀行管理系統\Form1.Designer.cs
?????文件???????5814??2012-07-02?15:04??銀行管理系統\銀行管理系統\Form1.resx
?????文件???????3338??2012-07-04?17:06??銀行管理系統\銀行管理系統\Form10.cs
?????文件???????6283??2012-07-04?17:06??銀行管理系統\銀行管理系統\Form10.Designer.cs
?????文件???????5814??2012-07-04?17:06??銀行管理系統\銀行管理系統\Form10.resx
?????文件???????5834??2012-07-05?09:20??銀行管理系統\銀行管理系統\Form11.cs
?????文件???????5394??2012-07-04?08:29??銀行管理系統\銀行管理系統\Form11.Designer.cs
?????文件???????5814??2012-07-04?08:29??銀行管理系統\銀行管理系統\Form11.resx
?????文件???????6732??2012-07-05?09:20??銀行管理系統\銀行管理系統\Form12.cs
............此處省略84個文件信息
- 上一篇:C#版GDAL無異常
- 下一篇:C#.net經典400個
評論
共有 條評論