diff --git a/.gitignore b/.gitignore index f14b74d..04f7e9e 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,6 @@ ################################################################################ /.vs +/AuditoriumMS/.vs/AuditoriumMS/v16 +/AuditoriumMS/bin/Debug +/AuditoriumMS/obj diff --git a/AuditoriumMS/Access.cs b/AuditoriumMS/Access.cs index 72bd11c..1805b7b 100644 --- a/AuditoriumMS/Access.cs +++ b/AuditoriumMS/Access.cs @@ -1,9 +1,7 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using System.Data; using System.Data.OleDb; +using System.IO; namespace AuditoriumMS { @@ -13,7 +11,7 @@ namespace AuditoriumMS public class Access { // 这里改成解决方案目录下那个accdb文件 ↓ - static string DbPath = @"F:\C#\培优礼堂票务管理系统\AuditoriumMS" + @"\DbTicketing.accdb"; + static string DbPath = Path.Combine(Environment.CurrentDirectory, "DbTicketing.accdb"); OleDbConnection oleDb = new OleDbConnection(string.Format(@"Provider=Microsoft.ACE.OLEDB.12.0;Data Source={0}", DbPath)); // 私有构造函数,单例实现 private Access() diff --git a/Doc/images/0.订票.png b/Doc/images/0.订票.png new file mode 100644 index 0000000..5929a15 Binary files /dev/null and b/Doc/images/0.订票.png differ diff --git a/Doc/images/1.新建票务信息.png b/Doc/images/1.新建票务信息.png new file mode 100644 index 0000000..cb8ecea Binary files /dev/null and b/Doc/images/1.新建票务信息.png differ diff --git a/Doc/images/2.票务信息查询.png b/Doc/images/2.票务信息查询.png new file mode 100644 index 0000000..e8284b1 Binary files /dev/null and b/Doc/images/2.票务信息查询.png differ diff --git a/Doc/images/3.票务数量信息.png b/Doc/images/3.票务数量信息.png new file mode 100644 index 0000000..bc97c46 Binary files /dev/null and b/Doc/images/3.票务数量信息.png differ diff --git a/Doc/images/4.预订信息查询.png b/Doc/images/4.预订信息查询.png new file mode 100644 index 0000000..dbf675d Binary files /dev/null and b/Doc/images/4.预订信息查询.png differ diff --git a/Doc/images/5.票务信息统计.png b/Doc/images/5.票务信息统计.png new file mode 100644 index 0000000..e7e1b6e Binary files /dev/null and b/Doc/images/5.票务信息统计.png differ diff --git a/Doc/images/6.1预订数量信息统计-预订信息统计.png b/Doc/images/6.1预订数量信息统计-预订信息统计.png new file mode 100644 index 0000000..8828d37 Binary files /dev/null and b/Doc/images/6.1预订数量信息统计-预订信息统计.png differ diff --git a/Doc/images/6.2预订数量信息统计-学生预订信息统计.png b/Doc/images/6.2预订数量信息统计-学生预订信息统计.png new file mode 100644 index 0000000..a631a8b Binary files /dev/null and b/Doc/images/6.2预订数量信息统计-学生预订信息统计.png differ diff --git a/Doc/images/6.3预订数量信息统计-班级预订信息统计.png b/Doc/images/6.3预订数量信息统计-班级预订信息统计.png new file mode 100644 index 0000000..2f3e3fd Binary files /dev/null and b/Doc/images/6.3预订数量信息统计-班级预订信息统计.png differ diff --git a/Doc/images/7.预订数量信息统计-图形展示.png b/Doc/images/7.预订数量信息统计-图形展示.png new file mode 100644 index 0000000..9921823 Binary files /dev/null and b/Doc/images/7.预订数量信息统计-图形展示.png differ diff --git a/Doc/images/8.班级汇总报表.png b/Doc/images/8.班级汇总报表.png new file mode 100644 index 0000000..c9b0300 Binary files /dev/null and b/Doc/images/8.班级汇总报表.png differ diff --git a/Doc/images/9.修改管理员密码.png b/Doc/images/9.修改管理员密码.png new file mode 100644 index 0000000..88fe832 Binary files /dev/null and b/Doc/images/9.修改管理员密码.png differ diff --git a/Doc/images/error1.png b/Doc/images/error1.png new file mode 100644 index 0000000..aa5f018 Binary files /dev/null and b/Doc/images/error1.png differ diff --git a/README.md b/README.md index 62ecff8..4cec897 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,29 @@ # AuditoriumMS -礼堂票务管理系统 使用C# WinForm编写 使用MS Access作为数据库 +Ʊϵͳ + +ʹC# WinFormд + +ʹMS AccessΪݿ + + +> ʱ**δڱؼעMicrosoft.ACE.OLEDB.12.0** +> ![](Doc/images/error1.png) +> +> ΪûаװݷҪװӦ汾ݷ +> +> [Microsoft 2007 Office System ](http://download.microsoft.com/download/7/0/3/703ffbcb-dc0c-4e19-b0da-1463960fdcdb/AccessDatabaseEngine.exe) + +dzЧͼ + +![](Doc/images/0.Ʊ.png) +![](Doc/images/1.½ƱϢ.png) +![](Doc/images/2.ƱϢѯ.png) +![](Doc/images/3.ƱϢ.png) +![](Doc/images/4.ԤϢѯ.png) +![](Doc/images/5.ƱϢͳ.png) +![](Doc/images/6.1ԤϢͳ-ԤϢͳ.png) +![](Doc/images/6.2ԤϢͳ-ѧԤϢͳ.png) +![](Doc/images/6.3ԤϢͳ-༶ԤϢͳ.png) +![](Doc/images/7.ԤϢͳ-ͼչʾ.png) +![](Doc/images/8.༶ܱ.png) +![](Doc/images/9.޸ĹԱ.png) \ No newline at end of file