⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 frmstudent.cs

📁 简单的学生成绩管理系统。实现学生成绩学号管理
💻 CS
📖 第 1 页 / 共 3 页
字号:
using System;using System.Collections;using System.ComponentModel;using System.Drawing;using System.Windows.Forms;using System.Data;using System.Data.SqlClient;namespace 教务管理系统{	public class frmStudent : 教务管理系统.frmBase	{
		internal System.Windows.Forms.GroupBox GroupBox1;
		internal System.Windows.Forms.ComboBox cbbStatus;
		internal System.Windows.Forms.Label Label12;
		internal System.Windows.Forms.ComboBox cbbBirthPlace;
		internal System.Windows.Forms.Label Label11;
		internal System.Windows.Forms.ComboBox cbbNation;
		internal System.Windows.Forms.Label Label10;
		internal System.Windows.Forms.ComboBox cbbPolity;
		internal System.Windows.Forms.Label Label9;
		internal System.Windows.Forms.ComboBox cbbClassId;
		internal System.Windows.Forms.Label Label8;
		internal System.Windows.Forms.ComboBox cbbSex;
		internal System.Windows.Forms.Label Label13;
		internal System.Windows.Forms.TextBox txbPID;
		internal System.Windows.Forms.Label Label7;
		internal System.Windows.Forms.TextBox txbGrade;
		internal System.Windows.Forms.Label Label6;
		internal System.Windows.Forms.TextBox txbName;
		internal System.Windows.Forms.Label Label5;
		internal System.Windows.Forms.TextBox txbClassId;
		internal System.Windows.Forms.Label Label4;
		private System.Data.SqlClient.SqlDataAdapter sqlDataAdapter1;
		private System.Data.SqlClient.SqlCommand sqlSelectCommand1;
		private System.Data.SqlClient.SqlCommand sqlInsertCommand1;
		private System.Data.SqlClient.SqlCommand sqlUpdateCommand1;
		private System.Data.SqlClient.SqlCommand sqlDeleteCommand1;
		private System.Data.SqlClient.SqlConnection sqlConnection1;
		private 教务管理系统.DataSet1 dataSet11;		private System.ComponentModel.IContainer components = null;		public frmStudent()		{			// 该调用是 Windows 窗体设计器所必需的。			InitializeComponent();			// TODO: 在 InitializeComponent 调用后添加任何初始化		}		/// <summary>		/// 清理所有正在使用的资源。		/// </summary>		protected override void Dispose( bool disposing )		{			if( disposing )			{				if (components != null) 				{					components.Dispose();				}			}			base.Dispose( disposing );		}		#region 设计器生成的代码		/// <summary>		/// 设计器支持所需的方法 - 不要使用代码编辑器修改		/// 此方法的内容。		/// </summary>		private void InitializeComponent()		{			this.GroupBox1 = new System.Windows.Forms.GroupBox();
			this.cbbStatus = new System.Windows.Forms.ComboBox();
			this.dataSet11 = new 教务管理系统.DataSet1();
			this.Label12 = new System.Windows.Forms.Label();
			this.cbbBirthPlace = new System.Windows.Forms.ComboBox();
			this.Label11 = new System.Windows.Forms.Label();
			this.cbbNation = new System.Windows.Forms.ComboBox();
			this.Label10 = new System.Windows.Forms.Label();
			this.cbbPolity = new System.Windows.Forms.ComboBox();
			this.Label9 = new System.Windows.Forms.Label();
			this.cbbClassId = new System.Windows.Forms.ComboBox();
			this.Label8 = new System.Windows.Forms.Label();
			this.cbbSex = new System.Windows.Forms.ComboBox();
			this.Label13 = new System.Windows.Forms.Label();
			this.txbPID = new System.Windows.Forms.TextBox();
			this.Label7 = new System.Windows.Forms.Label();
			this.txbGrade = new System.Windows.Forms.TextBox();
			this.Label6 = new System.Windows.Forms.Label();
			this.txbName = new System.Windows.Forms.TextBox();
			this.Label5 = new System.Windows.Forms.Label();
			this.txbClassId = new System.Windows.Forms.TextBox();
			this.Label4 = new System.Windows.Forms.Label();
			this.sqlDataAdapter1 = new System.Data.SqlClient.SqlDataAdapter();
			this.sqlDeleteCommand1 = new System.Data.SqlClient.SqlCommand();
			this.sqlConnection1 = new System.Data.SqlClient.SqlConnection();
			this.sqlInsertCommand1 = new System.Data.SqlClient.SqlCommand();
			this.sqlSelectCommand1 = new System.Data.SqlClient.SqlCommand();
			this.sqlUpdateCommand1 = new System.Data.SqlClient.SqlCommand();
			this.GroupBox1.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.dataSet11)).BeginInit();
			this.SuspendLayout();
			// 
			// GroupBox1
			// 
			this.GroupBox1.Controls.Add(this.cbbStatus);
			this.GroupBox1.Controls.Add(this.Label12);
			this.GroupBox1.Controls.Add(this.cbbBirthPlace);
			this.GroupBox1.Controls.Add(this.Label11);
			this.GroupBox1.Controls.Add(this.cbbNation);
			this.GroupBox1.Controls.Add(this.Label10);
			this.GroupBox1.Controls.Add(this.cbbPolity);
			this.GroupBox1.Controls.Add(this.Label9);
			this.GroupBox1.Controls.Add(this.cbbClassId);
			this.GroupBox1.Controls.Add(this.Label8);
			this.GroupBox1.Controls.Add(this.cbbSex);
			this.GroupBox1.Controls.Add(this.Label13);
			this.GroupBox1.Controls.Add(this.txbPID);
			this.GroupBox1.Controls.Add(this.Label7);
			this.GroupBox1.Controls.Add(this.txbGrade);
			this.GroupBox1.Controls.Add(this.Label6);
			this.GroupBox1.Controls.Add(this.txbName);
			this.GroupBox1.Controls.Add(this.Label5);
			this.GroupBox1.Controls.Add(this.txbClassId);
			this.GroupBox1.Controls.Add(this.Label4);
			this.GroupBox1.Dock = System.Windows.Forms.DockStyle.Bottom;
			this.GroupBox1.Location = new System.Drawing.Point(0, 229);
			this.GroupBox1.Name = "GroupBox1";
			this.GroupBox1.Size = new System.Drawing.Size(600, 144);
			this.GroupBox1.TabIndex = 7;
			this.GroupBox1.TabStop = false;
			// 
			// cbbStatus
			// 
			this.cbbStatus.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.dataSet11, "学生信息.学籍编号"));
			this.cbbStatus.Location = new System.Drawing.Point(168, 112);
			this.cbbStatus.Name = "cbbStatus";
			this.cbbStatus.Size = new System.Drawing.Size(136, 20);
			this.cbbStatus.TabIndex = 37;
			// 
			// dataSet11
			// 
			this.dataSet11.DataSetName = "DataSet1";
			this.dataSet11.Locale = new System.Globalization.CultureInfo("zh-CN");
			// 
			// Label12
			// 
			this.Label12.Location = new System.Drawing.Point(168, 96);
			this.Label12.Name = "Label12";
			this.Label12.Size = new System.Drawing.Size(56, 16);
			this.Label12.TabIndex = 36;
			this.Label12.Text = "学籍编号";
			// 
			// cbbBirthPlace
			// 
			this.cbbBirthPlace.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.dataSet11, "学生信息.籍贯编号"));
			this.cbbBirthPlace.Location = new System.Drawing.Point(16, 112);
			this.cbbBirthPlace.Name = "cbbBirthPlace";
			this.cbbBirthPlace.Size = new System.Drawing.Size(136, 20);
			this.cbbBirthPlace.TabIndex = 35;
			// 
			// Label11
			// 
			this.Label11.Location = new System.Drawing.Point(16, 96);
			this.Label11.Name = "Label11";
			this.Label11.Size = new System.Drawing.Size(56, 16);
			this.Label11.TabIndex = 34;
			this.Label11.Text = "籍贯编号";
			// 
			// cbbNation
			// 
			this.cbbNation.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.dataSet11, "学生信息.民族编号"));
			this.cbbNation.Location = new System.Drawing.Point(320, 72);
			this.cbbNation.Name = "cbbNation";
			this.cbbNation.Size = new System.Drawing.Size(144, 20);
			this.cbbNation.TabIndex = 33;
			// 
			// Label10
			// 
			this.Label10.Location = new System.Drawing.Point(320, 56);
			this.Label10.Name = "Label10";
			this.Label10.Size = new System.Drawing.Size(56, 16);
			this.Label10.TabIndex = 32;
			this.Label10.Text = "民族编号";
			// 
			// cbbPolity
			// 
			this.cbbPolity.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.dataSet11, "学生信息.政治面貌编号"));
			this.cbbPolity.Location = new System.Drawing.Point(168, 72);
			this.cbbPolity.Name = "cbbPolity";
			this.cbbPolity.Size = new System.Drawing.Size(136, 20);
			this.cbbPolity.TabIndex = 31;
			// 
			// Label9
			// 
			this.Label9.Location = new System.Drawing.Point(168, 56);
			this.Label9.Name = "Label9";
			this.Label9.Size = new System.Drawing.Size(80, 16);
			this.Label9.TabIndex = 30;
			this.Label9.Text = "政治面貌编号";
			// 
			// cbbClassId
			// 
			this.cbbClassId.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.dataSet11, "学生信息.班级编号"));
			this.cbbClassId.Location = new System.Drawing.Point(16, 72);
			this.cbbClassId.Name = "cbbClassId";
			this.cbbClassId.Size = new System.Drawing.Size(136, 20);
			this.cbbClassId.TabIndex = 29;
			// 
			// Label8
			// 
			this.Label8.Location = new System.Drawing.Point(16, 56);
			this.Label8.Name = "Label8";
			this.Label8.Size = new System.Drawing.Size(56, 16);
			this.Label8.TabIndex = 28;
			this.Label8.Text = "班级编号";

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -