• 大小: 259KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-06-07
  • 语言: 其他
  • 标签: 数据库  hash  排序  

资源简介

a. 输入多位同学的成绩(名字/成绩(key/value)),输出平均成绩、最高成绩等,并且根据用户输入的姓名输出该学生的成绩(输入名字不对给出提示(ContainsKey()))。(哈希表、泛型排序列表等多种方式实现)。 b. 在windows窗体中进行输入和输出,输入出错时能给出提示。 对数据库中表进行读写。在退出程序前先将输入的成绩存入score.mdb中的表score(或自定数据库与表)中,下次再输入时先从数据库中读出已有的成绩。

资源截图

代码片段和文件信息

//------------------------------------------------------------------------------
// 
//     此代码由工具生成。
//     运行时版本:4.0.30319.18449
//
//     对此文件的更改可能会导致不正确的行为,并且如果
//     重新生成代码,这些更改将会丢失。
// 

//------------------------------------------------------------------------------

#pragma warning disable 1591

namespace WindowsFormsApplication4 {
    
    
    /// 
    ///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(“Database1DataSet“)]
    [global::System.ComponentModel.Design.HelpKeywordAttribute(“vs.data.DataSet“)]
    public partial class Database1DataSet : global::System.Data.DataSet {
        
        private Table_1DataTable tableTable_1;
        
        private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute(“System.Data.Design.TypedDataSetGenerator“ “4.0.0.0“)]
        public Database1DataSet() {
            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“ “4.0.0.0“)]
        protected Database1DataSet(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::

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2015-10-17 12:01  Hash表\
     目录           0  2015-11-16 21:09  Hash表\WindowsFormsApplication4\
     目录           0  2015-11-16 21:09  Hash表\WindowsFormsApplication4\WindowsFormsApplication4\
     文件       79513  2015-10-17 10:50  Hash表\WindowsFormsApplication4\WindowsFormsApplication4\Database1DataSet.Designer.cs
     文件           3  2015-10-17 10:50  Hash表\WindowsFormsApplication4\WindowsFormsApplication4\Database1DataSet.xsc
     文件        9335  2015-10-17 10:50  Hash表\WindowsFormsApplication4\WindowsFormsApplication4\Database1DataSet.xsd
     文件           3  2015-10-17 10:50  Hash表\WindowsFormsApplication4\WindowsFormsApplication4\Database1DataSet.xss
     文件        9625  2015-10-14 21:00  Hash表\WindowsFormsApplication4\WindowsFormsApplication4\Form1.Designer.cs
     文件        2461  2015-10-17 11:48  Hash表\WindowsFormsApplication4\WindowsFormsApplication4\Form1.cs
     文件        5817  2015-10-14 20:57  Hash表\WindowsFormsApplication4\WindowsFormsApplication4\Form1.resx
     文件        1354  2015-10-17 11:13  Hash表\WindowsFormsApplication4\WindowsFormsApplication4\Program.cs
     目录           0  2015-11-16 21:09  Hash表\WindowsFormsApplication4\WindowsFormsApplication4\Properties\
     文件        1410  2015-10-14 20:54  Hash表\WindowsFormsApplication4\WindowsFormsApplication4\Properties\AssemblyInfo.cs
     文件        2900  2015-10-14 20:54  Hash表\WindowsFormsApplication4\WindowsFormsApplication4\Properties\Resources.Designer.cs
     文件        5612  2015-10-14 20:54  Hash表\WindowsFormsApplication4\WindowsFormsApplication4\Properties\Resources.resx
     文件        1715  2015-10-17 10:50  Hash表\WindowsFormsApplication4\WindowsFormsApplication4\Properties\Settings.Designer.cs
     文件        1002  2015-10-17 10:50  Hash表\WindowsFormsApplication4\WindowsFormsApplication4\Properties\Settings.settings
     文件        4376  2015-10-17 11:06  Hash表\WindowsFormsApplication4\WindowsFormsApplication4\WindowsFormsApplication4.csproj
     文件         421  2015-10-17 10:50  Hash表\WindowsFormsApplication4\WindowsFormsApplication4\app.config
     目录           0  2015-10-17 10:50  Hash表\WindowsFormsApplication4\WindowsFormsApplication4\bin\
     目录           0  2015-11-16 21:09  Hash表\WindowsFormsApplication4\WindowsFormsApplication4\bin\Debug\
     文件       40448  2015-10-17 11:48  Hash表\WindowsFormsApplication4\WindowsFormsApplication4\bin\Debug\WindowsFormsApplication4.exe
     文件         421  2015-10-17 10:50  Hash表\WindowsFormsApplication4\WindowsFormsApplication4\bin\Debug\WindowsFormsApplication4.exe.config
     文件       81408  2015-10-17 11:48  Hash表\WindowsFormsApplication4\WindowsFormsApplication4\bin\Debug\WindowsFormsApplication4.pdb
     文件       11600  2015-10-17 11:56  Hash表\WindowsFormsApplication4\WindowsFormsApplication4\bin\Debug\WindowsFormsApplication4.vshost.exe
     文件         421  2015-10-17 10:50  Hash表\WindowsFormsApplication4\WindowsFormsApplication4\bin\Debug\WindowsFormsApplication4.vshost.exe.config
     目录           0  2015-11-16 21:10  Hash表\WindowsFormsApplication4\WindowsFormsApplication4\bin\Release\
     目录           0  2015-10-14 21:18  Hash表\WindowsFormsApplication4\WindowsFormsApplication4\obj\
     目录           0  2015-10-14 21:18  Hash表\WindowsFormsApplication4\WindowsFormsApplication4\obj\x86\
     目录           0  2015-11-16 21:09  Hash表\WindowsFormsApplication4\WindowsFormsApplication4\obj\x86\Debug\
     文件        5420  2015-10-17 10:30  Hash表\WindowsFormsApplication4\WindowsFormsApplication4\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache
............此处省略54个文件信息

评论

共有 条评论