操作系统实验-进程同步与互斥_第1页
操作系统实验-进程同步与互斥_第2页
操作系统实验-进程同步与互斥_第3页
操作系统实验-进程同步与互斥_第4页
操作系统实验-进程同步与互斥_第5页
已阅读5页,还剩32页未读 继续免费阅读

付费下载

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

实验二实验题目:设计一个学生成绩管理系统

⑴有学号,姓名,班级,成绩字段;

⑵初始化一个班级(35人)的基本信息;

⑶统计60分以下,60~70,70~80,80~90,90分以上学生信息;按四个字段查询并列出学生信息;

⑷按学生成绩高到低,低到高进行排序.

程序设计概述:用C#的windows应用程序编写程序,其中利用控件datagridview进行数据显示。编写student类,包含学号、姓名、班级、成绩等字段以及相应的设置字段值和获取字段值得方法。对于学生数据的载入,可以在程序中采用初始化语句进行逐条的初始化;或者在存在相应文件时,可以直接从文件中载入。在内存中,数据以student成员的形式装在arraylist容器中。目的在于利用arraylist类的已经有的函数(如sort(),contain()等)。对于程序实现的功能:可以通过datagridview控件对学生信息进行显示,并且带有条目标记。支持添加、删除、修改等基本的操作····支持文件的保存和加载。可以按照学号和成绩进行升序降序排序(其中通过继承定义了新的比较器类),按照分数段进行显示,按照学生student类进行分段的信息查询源程序:Program.csusingSystem;usingSystem.Collections.Generic;usingSystem.Windows.Forms;namespacelesson2_1{staticclassProgram{///<summary>///应用程序的主入口点。///</summary>[STAThread]staticvoidMain(){Application.EnableVisualStyles();Application.SetCompatibleTextRenderingDefault(false);Application.Run(newForm1());}}}Form1.Designer.csnamespacelesson2_1{partialclassForm1{///<summary>///必需的设计器变量。///</summary>privateSystem.ComponentModel.IContainercomponents=null;///<summary>///清理所有正在使用的资源。///</summary>///<paramname="disposing">如果应释放托管资源,为true;否则为false。</param>protectedoverridevoidDispose(booldisposing){if(disposing&&(components!=null)){components.Dispose();}base.Dispose(disposing);}#regionWindows窗体设计器生成的代码///<summary>///设计器支持所需的方法-不要///使用代码编辑器修改此方法的内容。///</summary>privatevoidInitializeComponent(){this.dataGridView1=newSystem.Windows.Forms.DataGridView();this.Column1=newSystem.Windows.Forms.DataGridViewTextBoxColumn();this.Column2=newSystem.Windows.Forms.DataGridViewTextBoxColumn();this.Column3=newSystem.Windows.Forms.DataGridViewTextBoxColumn();this.Column4=newSystem.Windows.Forms.DataGridViewTextBoxColumn();this.Column5=newSystem.Windows.Forms.DataGridViewTextBoxColumn();this.groupBox1=newSystem.Windows.Forms.GroupBox();this.button2=newSystem.Windows.Forms.Button();this.button1=newSystem.Windows.Forms.Button();this.groupBox2=newSystem.Windows.Forms.GroupBox();this.button3=newSystem.Windows.Forms.Button();boBox1=newSystem.Windows.Forms.ComboBox();this.btn_add=newSystem.Windows.Forms.Button();this.btn_modify=newSystem.Windows.Forms.Button();this.btn_delet=newSystem.Windows.Forms.Button();this.groupBox4=newSystem.Windows.Forms.GroupBox();this.textBox1=newSystem.Windows.Forms.TextBox();this.button5=newSystem.Windows.Forms.Button();boBox2=newSystem.Windows.Forms.ComboBox();this.button4=newSystem.Windows.Forms.Button();this.button6=newSystem.Windows.Forms.Button();((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();this.groupBox1.SuspendLayout();this.groupBox2.SuspendLayout();this.groupBox4.SuspendLayout();this.SuspendLayout();////dataGridView1//this.dataGridView1.Anchor=((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top|System.Windows.Forms.AnchorStyles.Bottom)|System.Windows.Forms.AnchorStyles.Left)|System.Windows.Forms.AnchorStyles.Right)));this.dataGridView1.AutoSizeColumnsMode=System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;this.dataGridView1.ColumnHeadersHeightSizeMode=System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;this.dataGridView1.Columns.AddRange(newSystem.Windows.Forms.DataGridViewColumn[]{this.Column1,this.Column2,this.Column3,this.Column4,this.Column5});this.dataGridView1.Location=newSystem.Drawing.Point(0,0);this.dataGridView1.Name="dataGridView1";this.dataGridView1.ReadOnly=true;this.dataGridView1.RowTemplate.Height=23;this.dataGridView1.Size=newSystem.Drawing.Size(747,63);this.dataGridView1.TabIndex=0;this.dataGridView1.ColumnHeaderMouseClick+=newSystem.Windows.Forms.DataGridViewCellMouseEventHandler(this.dataGridView1_ColumnHeaderMouseClick);////Column1//this.Column1.DividerWidth=2;this.Column1.HeaderText="学号";this.Column1.Name="Column1";this.Column1.ReadOnly=true;////Column2//this.Column2.DividerWidth=2;this.Column2.HeaderText="姓名";this.Column2.Name="Column2";this.Column2.ReadOnly=true;////Column3//this.Column3.DividerWidth=2;this.Column3.HeaderText="班级";this.Column3.Name="Column3";this.Column3.ReadOnly=true;////Column4//this.Column4.DividerWidth=2;this.Column4.HeaderText="成绩";this.Column4.Name="Column4";this.Column4.ReadOnly=true;////Column5//this.Column5.DividerWidth=2;this.Column5.HeaderText="备注";this.Column5.Name="Column5";this.Column5.ReadOnly=true;////groupBox1//this.groupBox1.Anchor=((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom|System.Windows.Forms.AnchorStyles.Left)));this.groupBox1.Controls.Add(this.button2);this.groupBox1.Controls.Add(this.button1);this.groupBox1.Location=newSystem.Drawing.Point(0,243);this.groupBox1.Name="groupBox1";this.groupBox1.Size=newSystem.Drawing.Size(159,142);this.groupBox1.TabIndex=1;this.groupBox1.TabStop=false;this.groupBox1.Text="排序:";////button2//this.button2.Location=newSystem.Drawing.Point(55,93);this.button2.Name="button2";this.button2.Size=newSystem.Drawing.Size(75,23);this.button2.TabIndex=1;this.button2.Text="降序";this.button2.UseVisualStyleBackColor=true;this.button2.Click+=newSystem.EventHandler(this.button2_Click);////button1//this.button1.Location=newSystem.Drawing.Point(55,52);this.button1.Name="button1";this.button1.Size=newSystem.Drawing.Size(75,23);this.button1.TabIndex=0;this.button1.Text="升序";this.button1.UseVisualStyleBackColor=true;this.button1.Click+=newSystem.EventHandler(this.button1_Click);////groupBox2//this.groupBox2.Anchor=((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom|System.Windows.Forms.AnchorStyles.Left)));this.groupBox2.Controls.Add(this.button3);this.groupBox2.Controls.Add(boBox1);this.groupBox2.Location=newSystem.Drawing.Point(192,243);this.groupBox2.Name="groupBox2";this.groupBox2.Size=newSystem.Drawing.Size(152,142);this.groupBox2.TabIndex=2;this.groupBox2.TabStop=false;this.groupBox2.Text="按照成绩显示:";////button3//this.button3.Location=newSystem.Drawing.Point(51,92);this.button3.Name="button3";this.button3.Size=newSystem.Drawing.Size(75,23);this.button3.TabIndex=1;this.button3.Text="确定";this.button3.UseVisualStyleBackColor=true;this.button3.Click+=newSystem.EventHandler(this.button3_Click);////comboBox1//boBox1.FormattingEnabled=true;boBox1.Items.AddRange(newobject[]{"60分一下","60分~70分","70分~80分","80分~90分","90分~100分","全部成绩"});boBox1.Location=newSystem.Drawing.Point(6,31);boBox1.Name="comboBox1";boBox1.Size=newSystem.Drawing.Size(121,20);boBox1.TabIndex=0;boBox1.Text="成绩区间";////btn_add//this.btn_add.Anchor=((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom|System.Windows.Forms.AnchorStyles.Left)));this.btn_add.Location=newSystem.Drawing.Point(55,81);this.btn_add.Name="btn_add";this.btn_add.Size=newSystem.Drawing.Size(75,23);this.btn_add.TabIndex=3;this.btn_add.Text="增加";this.btn_add.UseVisualStyleBackColor=true;this.btn_add.Click+=newSystem.EventHandler(this.btn_add_Click);////btn_modify//this.btn_modify.Anchor=((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom|System.Windows.Forms.AnchorStyles.Left)));this.btn_modify.Location=newSystem.Drawing.Point(373,81);this.btn_modify.Name="btn_modify";this.btn_modify.Size=newSystem.Drawing.Size(75,23);this.btn_modify.TabIndex=4;this.btn_modify.Text="修改";this.btn_modify.UseVisualStyleBackColor=true;this.btn_modify.Click+=newSystem.EventHandler(this.btn_modify_Click);////btn_delet//this.btn_delet.Anchor=((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom|System.Windows.Forms.AnchorStyles.Left)));this.btn_delet.Location=newSystem.Drawing.Point(215,81);this.btn_delet.Name="btn_delet";this.btn_delet.Size=newSystem.Drawing.Size(75,23);this.btn_delet.TabIndex=6;this.btn_delet.Text="删除";this.btn_delet.UseVisualStyleBackColor=true;this.btn_delet.Click+=newSystem.EventHandler(this.btn_delet_Click);////groupBox4//this.groupBox4.Anchor=((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom|System.Windows.Forms.AnchorStyles.Left)));this.groupBox4.Controls.Add(this.textBox1);this.groupBox4.Controls.Add(this.button5);this.groupBox4.Controls.Add(boBox2);this.groupBox4.Location=newSystem.Drawing.Point(388,243);this.groupBox4.Name="groupBox4";this.groupBox4.Size=newSystem.Drawing.Size(209,142);this.groupBox4.TabIndex=8;this.groupBox4.TabStop=false;this.groupBox4.Text="字段查找:";////textBox1//this.textBox1.Location=newSystem.Drawing.Point(82,66);this.textBox1.Name="textBox1";this.textBox1.Size=newSystem.Drawing.Size(100,21);this.textBox1.TabIndex=2;////button5//this.button5.Location=newSystem.Drawing.Point(53,93);this.button5.Name="button5";this.button5.Size=newSystem.Drawing.Size(75,23);this.button5.TabIndex=1;this.button5.Text="确定";this.button5.UseVisualStyleBackColor=true;this.button5.Click+=newSystem.EventHandler(this.button5_Click);////comboBox2//boBox2.FormattingEnabled=true;boBox2.Items.AddRange(newobject[]{"学号","姓名","班级","成绩"});boBox2.Location=newSystem.Drawing.Point(82,31);boBox2.Name="comboBox2";boBox2.Size=newSystem.Drawing.Size(121,20);boBox2.TabIndex=0;boBox2.Text="查找字段";boBox2.SelectedIndexChanged+=newSystem.EventHandler(boBox2_SelectedIndexChanged);////button4//this.button4.Anchor=((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom|System.Windows.Forms.AnchorStyles.Left)));this.button4.Location=newSystem.Drawing.Point(522,81);this.button4.Name="button4";this.button4.Size=newSystem.Drawing.Size(75,23);this.button4.TabIndex=9;this.button4.Text="保存";this.button4.UseVisualStyleBackColor=true;this.button4.Click+=newSystem.EventHandler(this.button4_Click);////button6//this.button6.Anchor=((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom|System.Windows.Forms.AnchorStyles.Left)));this.button6.Location=newSystem.Drawing.Point(658,81);this.button6.Name="button6";this.button6.Size=newSystem.Drawing.Size(75,23);this.button6.TabIndex=10;this.button6.Text="加载文件";this.button6.UseVisualStyleBackColor=true;this.button6.Click+=newSystem.EventHandler(this.button6_Click);////Form1//this.AutoScaleDimensions=newSystem.Drawing.SizeF(6F,12F);this.AutoScaleMode=System.Windows.Forms.AutoScaleMode.Font;this.ClientSize=newSystem.Drawing.Size(745,382);this.Controls.Add(this.button6);this.Controls.Add(this.button4);this.Controls.Add(this.groupBox4);this.Controls.Add(this.btn_delet);this.Controls.Add(this.btn_modify);this.Controls.Add(this.btn_add);this.Controls.Add(this.groupBox2);this.Controls.Add(this.groupBox1);this.Controls.Add(this.dataGridView1);this.Name="Form1";this.Text="学生成绩管理系统";this.Load+=newSystem.EventHandler(this.Form1_Load);((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();this.groupBox1.ResumeLayout(false);this.groupBox2.ResumeLayout(false);this.groupBox4.ResumeLayout(false);this.groupBox4.PerformLayout();this.ResumeLayout(false);}#endregionprivateSystem.Windows.Forms.DataGridViewdataGridView1;privateSystem.Windows.Forms.GroupBoxgroupBox1;privateSystem.Windows.Forms.Buttonbutton2;privateSystem.Windows.Forms.Buttonbutton1;privateSystem.Windows.Forms.GroupBoxgroupBox2;privateSystem.Windows.Forms.Buttonbtn_add;privateSystem.Windows.Forms.Buttonbtn_modify;privateSystem.Windows.Forms.Buttonbtn_delet;privateSystem.Windows.Forms.Buttonbutton3;privateSystem.Windows.Forms.ComboBoxcomboBox1;privateSystem.Windows.Forms.GroupBoxgroupBox4;privateSystem.Windows.Forms.Buttonbutton5;privateSystem.Windows.Forms.ComboBoxcomboBox2;privateSystem.Windows.Forms.TextBoxtextBox1;privateSystem.Windows.Forms.DataGridViewTextBoxColumnColumn1;privateSystem.Windows.Forms.DataGridViewTextBoxColumnColumn2;privateSystem.Windows.Forms.DataGridViewTextBoxColumnColumn3;privateSystem.Windows.Forms.DataGridViewTextBoxColumnColumn4;privateSystem.Windows.Forms.DataGridViewTextBoxColumnColumn5;privateSystem.Windows.Forms.Buttonbutton4;privateSystem.Windows.Forms.Buttonbutton6;}}Form1.csusingSystem;usingSystem.IO;usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Data;usingSystem.Drawing;usingSystem.Text;usingSystem.Windows.Forms;namespacelesson2_1{publicpartialclassForm1:Form{bool[]headtag={false,false,false,false};//排序时使用的标记System.Collections.ArrayListstu,stu_sort;//两个arraylist类对象,其中stu作为运行数据的存储,stu_sort则是动态排序的数据备份publicForm1(){InitializeComponent();}privatevoidForm1_Load(objectsender,EventArgse){stu_sort=newSystem.Collections.ArrayList();System.Randomrandom=newRandom();//学生成绩随即产生stu=newSystem.Collections.ArrayList();//在内存中初始化学生成绩,当信息文件不存在时使用来进行初始化stu.Add(newstudent("20082958","孔朝阳","计0804",random.Next(101)));stu.Add(newstudent("20082960","朱朝洲","计0804",random.Next(101)));stu.Add(newstudent("20082941","陈尚辉","计0804",random.Next(101)));stu.Add(newstudent("20082939","才有福","计0804",random.Next(101)));stu.Add(newstudent("20082940","程倩磊","计0804",random.Next(101)));stu.Add(newstudent("20082941","陈尚辉","计0804",random.Next(101)));stu.Add(newstudent("20082943","付连鹏","计0804",random.Next(101)));stu.Add(newstudent("20082944","丰硕","计0804",random.Next(101)));stu.Add(newstudent("20082945","韩伟","计0804",random.Next(101)));stu.Add(newstudent("20082946","李蓓","计0804",random.Next(101)));stu.Add(newstudent("20082947","李湘荃","计0804",random.Next(101)));stu.Add(newstudent("20082948","刘和","计0804",random.Next(101)));stu.Add(newstudent("20082949","刘帅","计0804",random.Next(101)));stu.Add(newstudent("20082950","刘金鹏","计0804",100));stu.Add(newstudent("20082951","陆天宇","计0804",random.Next(101)));stu.Add(newstudent("20082952","去映衬","计0804",random.Next(101)));stu.Add(newstudent("20082953","赵一鸣","计0804",random.Next(101)));stu.Add(newstudent("20082954","正中有","计0804",random.Next(101)));stu.Add(newstudent("20082955","王蓉问","计0804",random.Next(101)));stu.Add(newstudent("20082956","周培费","计0804",random.Next(101)));stu.Add(newstudent("20082957","王子","计0804",random.Next(101)));//为列表控件初始化,格式控制设置和最大化this.dataGridView1.Rows.Add(100);intwidth=this.dataGridView1.Width;intavg=width/6;this.dataGridView1.Columns[0].Width=avg;this.dataGridView1.Columns[1].Width=avg;this.dataGridView1.Columns[2].Width=avg;this.dataGridView1.Columns[3].Width=avg;this.dataGridView1.Columns[4].Width=avg;this.dataGridView1.RowHeadersWidth=avg;this.WindowState=FormWindowState.Maximized;}//对datagridview的行标进行动态更新privatevoidrowlable(){intn=this.stu_sort.Count;for(inti=0;i<n;i++){intj=i+1;this.dataGridView1.Rows[j-1].HeaderCell.Value=j.ToString();}for(inti=n;i<this.dataGridView1.Rows.Count;i++){intj=i+1;this.dataGridView1.Rows[j-1].HeaderCell.Value="";}}//对页面显示内容的排序进行动态更新privatevoidmysort_print(){inti=0;for(i=0;i<this.stu_sort.Count;i++){this.dataGridView1.Rows[i].Cells[0].Value=((student)stu_sort[i]).getsno();this.dataGridView1.Rows[i].Cells[1].Value=((student)stu_sort[i]).getsname();this.dataGridView1.Rows[i].Cells[2].Value=((student)stu_sort[i]).getsclass();this.dataGridView1.Rows[i].Cells[3].Value=((student)stu_sort[i]).getgrade();}for(;i<this.dataGridView1.Rows.Count;i++){this.dataGridView1.Rows[i].Cells[0].Value="";this.dataGridView1.Rows[i].Cells[1].Value="";this.dataGridView1.Rows[i].Cells[2].Value="";this.dataGridView1.Rows[i].Cells[3].Value="";}rowlable();}//升序privatevoidbutton1_Click(objectsender,EventArgse){System.Collections.IComparermycompareup=newmyCompareup();stu_sort.Sort(mycompareup);mysort_print();MessageBox.Show("升序排序成功");}privatevoidbutton1_Click(){System.Collections.IComparermycompareup=newmyCompareup();stu_sort.Sort(mycompareup);mysort_print();//MessageBox.Show("升序排序成功");}//降序privatevoidbutton2_Click(objectsender,EventArgse){System.Collections.IComparermycomparedown=newmyComparedown();stu_sort.Sort(mycomparedown);mysort_print();MessageBox.Show("降序排序成功");}privatevoidbutton2_Click(){System.Collections.IComparermycomparedown=newmyComparedown();stu_sort.Sort(mycomparedown);mysort_print();//MessageBox.Show("降序排序成功");}//点击”添加“按钮时激发的事件privatevoidbtn_add_Click(objectsender,EventArgse){Form2f2_temp=newForm2();f2_temp.Text="添加";f2_temp.Owner=this;f2_temp.ShowDialog();if(f2_temp.DialogResult==DialogResult.OK){stringtext_no=f2_temp.sno,text_name=f2_temp.sname,text_class=f2_temp.sclass,text_grede=f2_temp.sgrade;if(text_no.Trim()==null||text_name==""||text_class==""||text_grede=="")MessageBox.Show("请重新输入","警告");else{studentstuTemp=newstudent(text_no,text_name,text_class,int.Parse(text_grede));if(stu.Contains(stuTemp)==false){MessageBox.Show("成功添加项目");inti=this.stu.Count;this.dataGridView1.Rows[i].Cells[0].Value=text_no.ToString();this.dataGridView1.Rows[i].Cells[1].Value=text_name.ToString();this.dataGridView1.Rows[i].Cells[2].Value=text_class.ToString();this.dataGridView1.Rows[i].Cells[3].Value=text_grede.ToString();stu.Add(stuTemp);stu_sort.Clear();stu_sort=(System.Collections.ArrayList)stu.Clone();rowlable();}else{MessageBox.Show("该条目存在");}}}}//点击删除按钮时的事件privatevoidbtn_delet_Click(objectsender,EventArgse){stringa=dataGridView1.CurrentRow.Cells[0].Value.ToString();stringb=dataGridView1.CurrentRow.Cells[1].Value.ToString();stringc=dataGridView1.CurrentRow.Cells[2].Value.ToString();intd=int.Parse(dataGridView1.CurrentRow.Cells[3].Value.ToString());dataGridView1.Rows.Remove(dataGridView1.CurrentRow);ObjectstuTemp=newstudent(a,b,c,d);stu.Remove(stuTemp);stu_sort.Clear();stu_sort=(System.Collections.ArrayList)stu.Clone();rowlable();}//点击修改按钮时激发的事件privatevoidbtn_modify_Click(objectsender,EventArgse){Form2f2_temp=newForm2();f2_temp.Owner=this;stringa=dataGridView1.CurrentRow.Cells[0].Value.ToString();stringb=dataGridView1.CurrentRow.Cells[1].Value.ToString();stringc=dataGridView1.CurrentRow.Cells[2].Value.ToString();stringd=dataGridView1.CurrentRow.Cells[3].Value.ToString();ObjectstuTemp=newstudent(a,b,c,int.Parse(d));f2_temp.sno=a;f2_temp.sname=b;f2_temp.sclass=c;f2_temp.sgrade=d;f2_temp.Text="修改";f2_temp.ShowDialog();if(f2_temp.DialogResult==DialogResult.OK){a=f2_temp.sno;b=f2_temp.sname;c=f2_temp.sclass;d=f2_temp.sgrade;if(stu.Contains(newstudent(a,b,c,int.Parse(d)))==true&&a.Equals(dataGridView1.CurrentRow.Cells[0].Value.ToString())==false){MessageBox.Show("该条目已经存在","警告");}else{dataGridView1.CurrentRow.Cells[0].Value=a;dataGridView1.CurrentRow.Cells[1].Value=b;dataGridView1.CurrentRow.Cells[2].Value=c;dataGridView1.CurrentRow.Cells[3].Value=d;stu.Remove(stuTemp);stu.Add(newstudent(a,b,c,int.Parse(d)));stu_sort.Clear();stu_sort=(System.Collections.ArrayList)stu.Clone();}}}//点击下拉选择菜单的确定时激发的时间privatevoidbutton3_Click(objectsender,EventArgse){inti=0,j=0;stu_sort.Clear();switch(boBox1.SelectedIndex){case0:for(i=0,j=0;i<this.stu.Count;i++){//选择小于60分的选项if(((student)stu[i]).getgrade()<60){stu_sort.Add(stu[i]);this.dataGridView1.Rows[j].Cells[0].Value=((student)stu[i]).getsno();this.dataGridView1.Rows[j].Cells[1].Value=((student)stu[i]).getsname();this.dataGridView1.Rows[j].Cells[2].Value=((student)stu[i]).getsclass();this.dataGridView1.Rows[j].Cells[3].Value=((student)stu[i]).getgrade();j++;}}for(i=j;i<this.dataGridView1.Rows.Count;i++){this.dataGridView1.Rows[i].Cells[0].Value="";this.dataGridView1.Rows[i].Cells[1].Value="";thi

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论