亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? addclass.cs

?? C#編寫(xiě)的學(xué)籍管理系統(tǒng)
?? CS
字號(hào):
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data.OleDb;
using System.Data;
using System.Runtime.InteropServices;

namespace WindowsApplication1
{
	/// <summary>
	/// xjbj 的摘要說(shuō)明。
	/// </summary>
	public class AddClass : System.Windows.Forms.Form
	{
		private System.Windows.Forms.Label label1;
		private System.Windows.Forms.TextBox textBox1;
		private System.Windows.Forms.Label label2;
		private System.Windows.Forms.Label label3;
		private System.Windows.Forms.Label label5;
		private System.Windows.Forms.Label label6;
		private System.Windows.Forms.Label label7;
		private System.Windows.Forms.TextBox textBox3;
		private System.Windows.Forms.TextBox textBox5;
		private System.Windows.Forms.DateTimePicker dateTimePicker1;
		private System.Windows.Forms.Button button1;
		private System.Windows.Forms.Button button2;
		private System.Windows.Forms.Label label8;
		private System.Data.OleDb.OleDbConnection oleDbConnection1;
		private System.Windows.Forms.ComboBox comboBox1;
		private System.Windows.Forms.TextBox textBox2;
		private System.Windows.Forms.NumericUpDown numericUpDown1;
		private System.Windows.Forms.Label label4;
		/// <summary>
		/// 必需的設(shè)計(jì)器變量。
		/// </summary>
		[DllImport("User32.dll")]
		public static extern int MessageBox(int h,string m,string c,int type);
		private System.ComponentModel.Container components = null;

		public AddClass()
		{
			//
			// Windows 窗體設(shè)計(jì)器支持所必需的
			//
			InitializeComponent();

			//
			// TODO: 在 InitializeComponent 調(diào)用后添加任何構(gòu)造函數(shù)代碼
			//
		}

		/// <summary>
		/// 清理所有正在使用的資源。
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if(components != null)
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}

		#region Windows 窗體設(shè)計(jì)器生成的代碼
		/// <summary>
		/// 設(shè)計(jì)器支持所需的方法 - 不要使用代碼編輯器修改
		/// 此方法的內(nèi)容。
		/// </summary>
		private void InitializeComponent()
		{
			this.label1 = new System.Windows.Forms.Label();
			this.textBox1 = new System.Windows.Forms.TextBox();
			this.label2 = new System.Windows.Forms.Label();
			this.label3 = new System.Windows.Forms.Label();
			this.label5 = new System.Windows.Forms.Label();
			this.label6 = new System.Windows.Forms.Label();
			this.label7 = new System.Windows.Forms.Label();
			this.textBox3 = new System.Windows.Forms.TextBox();
			this.textBox5 = new System.Windows.Forms.TextBox();
			this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker();
			this.button1 = new System.Windows.Forms.Button();
			this.button2 = new System.Windows.Forms.Button();
			this.label8 = new System.Windows.Forms.Label();
			this.oleDbConnection1 = new System.Data.OleDb.OleDbConnection();
			this.comboBox1 = new System.Windows.Forms.ComboBox();
			this.textBox2 = new System.Windows.Forms.TextBox();
			this.label4 = new System.Windows.Forms.Label();
			this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
			((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
			this.SuspendLayout();
			// 
			// label1
			// 
			this.label1.AutoSize = true;
			this.label1.Font = new System.Drawing.Font("宋體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
			this.label1.ForeColor = System.Drawing.SystemColors.ControlText;
			this.label1.Location = new System.Drawing.Point(9, 51);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(67, 21);
			this.label1.TabIndex = 0;
			this.label1.Text = "班級(jí)名稱";
			// 
			// textBox1
			// 
			this.textBox1.Font = new System.Drawing.Font("宋體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
			this.textBox1.Location = new System.Drawing.Point(96, 51);
			this.textBox1.Name = "textBox1";
			this.textBox1.Size = new System.Drawing.Size(171, 25);
			this.textBox1.TabIndex = 1;
			this.textBox1.Text = "";
			// 
			// label2
			// 
			this.label2.AutoSize = true;
			this.label2.Font = new System.Drawing.Font("宋體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
			this.label2.ForeColor = System.Drawing.SystemColors.ControlText;
			this.label2.Location = new System.Drawing.Point(40, 103);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(36, 21);
			this.label2.TabIndex = 2;
			this.label2.Text = "專業(yè)";
			// 
			// label3
			// 
			this.label3.AutoSize = true;
			this.label3.Font = new System.Drawing.Font("宋體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
			this.label3.ForeColor = System.Drawing.SystemColors.ControlText;
			this.label3.Location = new System.Drawing.Point(9, 154);
			this.label3.Name = "label3";
			this.label3.Size = new System.Drawing.Size(67, 21);
			this.label3.TabIndex = 3;
			this.label3.Text = "教室編號(hào)";
			// 
			// label5
			// 
			this.label5.AutoSize = true;
			this.label5.Font = new System.Drawing.Font("宋體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
			this.label5.ForeColor = System.Drawing.SystemColors.ControlText;
			this.label5.Location = new System.Drawing.Point(308, 51);
			this.label5.Name = "label5";
			this.label5.Size = new System.Drawing.Size(36, 21);
			this.label5.TabIndex = 5;
			this.label5.Text = "年制";
			// 
			// label6
			// 
			this.label6.AutoSize = true;
			this.label6.Font = new System.Drawing.Font("宋體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
			this.label6.ForeColor = System.Drawing.SystemColors.ControlText;
			this.label6.Location = new System.Drawing.Point(292, 103);
			this.label6.Name = "label6";
			this.label6.Size = new System.Drawing.Size(52, 21);
			this.label6.TabIndex = 6;
			this.label6.Text = "辦主任";
			// 
			// label7
			// 
			this.label7.AutoSize = true;
			this.label7.Font = new System.Drawing.Font("宋體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
			this.label7.ForeColor = System.Drawing.SystemColors.ControlText;
			this.label7.Location = new System.Drawing.Point(277, 154);
			this.label7.Name = "label7";
			this.label7.Size = new System.Drawing.Size(67, 21);
			this.label7.TabIndex = 7;
			this.label7.Text = "入學(xué)時(shí)間";
			// 
			// textBox3
			// 
			this.textBox3.Font = new System.Drawing.Font("宋體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
			this.textBox3.Location = new System.Drawing.Point(96, 154);
			this.textBox3.Name = "textBox3";
			this.textBox3.Size = new System.Drawing.Size(171, 25);
			this.textBox3.TabIndex = 9;
			this.textBox3.Text = "";
			// 
			// textBox5
			// 
			this.textBox5.Font = new System.Drawing.Font("宋體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
			this.textBox5.Location = new System.Drawing.Point(363, 103);
			this.textBox5.Name = "textBox5";
			this.textBox5.Size = new System.Drawing.Size(181, 25);
			this.textBox5.TabIndex = 11;
			this.textBox5.Text = "";
			// 
			// dateTimePicker1
			// 
			this.dateTimePicker1.Font = new System.Drawing.Font("宋體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
			this.dateTimePicker1.Location = new System.Drawing.Point(363, 154);
			this.dateTimePicker1.Name = "dateTimePicker1";
			this.dateTimePicker1.Size = new System.Drawing.Size(181, 25);
			this.dateTimePicker1.TabIndex = 13;
			// 
			// button1
			// 
			this.button1.Font = new System.Drawing.Font("宋體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
			this.button1.Location = new System.Drawing.Point(128, 298);
			this.button1.Name = "button1";
			this.button1.Size = new System.Drawing.Size(75, 31);
			this.button1.TabIndex = 14;
			this.button1.Text = "確定";
			this.button1.Click += new System.EventHandler(this.button1_Click);
			// 
			// button2
			// 
			this.button2.Font = new System.Drawing.Font("宋體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
			this.button2.Location = new System.Drawing.Point(395, 298);
			this.button2.Name = "button2";
			this.button2.Size = new System.Drawing.Size(74, 31);
			this.button2.TabIndex = 15;
			this.button2.Text = "退出";
			this.button2.Click += new System.EventHandler(this.button2_Click);
			// 
			// label8
			// 
			this.label8.AutoSize = true;
			this.label8.Font = new System.Drawing.Font("宋體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
			this.label8.ForeColor = System.Drawing.SystemColors.ControlText;
			this.label8.Location = new System.Drawing.Point(235, 10);
			this.label8.Name = "label8";
			this.label8.Size = new System.Drawing.Size(67, 21);
			this.label8.TabIndex = 16;
			this.label8.Text = "添加班級(jí)";
			// 
			// oleDbConnection1
			// 
			this.oleDbConnection1.ConnectionString = "Data Source=xsxxdb.mdb;Jet OLEDB:Engine Type=5;Provider=Microsoft.Jet." +
				"OLEDB.4.0;";
			// 
			// comboBox1
			// 
			this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.comboBox1.Font = new System.Drawing.Font("宋體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
			this.comboBox1.Location = new System.Drawing.Point(96, 103);
			this.comboBox1.Name = "comboBox1";
			this.comboBox1.Size = new System.Drawing.Size(171, 23);
			this.comboBox1.TabIndex = 17;
			// 
			// textBox2
			// 
			this.textBox2.Font = new System.Drawing.Font("宋體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
			this.textBox2.Location = new System.Drawing.Point(96, 206);
			this.textBox2.Multiline = true;
			this.textBox2.Name = "textBox2";
			this.textBox2.Size = new System.Drawing.Size(448, 72);
			this.textBox2.TabIndex = 18;
			this.textBox2.Text = "";
			// 
			// label4
			// 
			this.label4.AutoSize = true;
			this.label4.Font = new System.Drawing.Font("宋體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
			this.label4.ForeColor = System.Drawing.SystemColors.ControlText;
			this.label4.Location = new System.Drawing.Point(40, 206);
			this.label4.Name = "label4";
			this.label4.Size = new System.Drawing.Size(36, 21);
			this.label4.TabIndex = 19;
			this.label4.Text = "備注";
			// 
			// numericUpDown1
			// 
			this.numericUpDown1.Location = new System.Drawing.Point(363, 51);
			this.numericUpDown1.Maximum = new System.Decimal(new int[] {
																		   10,
																		   0,
																		   0,
																		   0});
			this.numericUpDown1.Minimum = new System.Decimal(new int[] {
																		   1,
																		   0,
																		   0,
																		   0});
			this.numericUpDown1.Name = "numericUpDown1";
			this.numericUpDown1.ReadOnly = true;
			this.numericUpDown1.Size = new System.Drawing.Size(96, 25);
			this.numericUpDown1.TabIndex = 20;
			this.numericUpDown1.Value = new System.Decimal(new int[] {
																		 3,
																		 0,
																		 0,
																		 0});
			// 
			// AddClass
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(8, 18);
			this.ClientSize = new System.Drawing.Size(578, 348);
			this.Controls.Add(this.numericUpDown1);
			this.Controls.Add(this.label4);
			this.Controls.Add(this.textBox2);
			this.Controls.Add(this.label8);
			this.Controls.Add(this.textBox5);
			this.Controls.Add(this.textBox3);
			this.Controls.Add(this.label7);
			this.Controls.Add(this.label6);
			this.Controls.Add(this.label5);
			this.Controls.Add(this.label3);
			this.Controls.Add(this.label2);
			this.Controls.Add(this.textBox1);
			this.Controls.Add(this.label1);
			this.Controls.Add(this.comboBox1);
			this.Controls.Add(this.button2);
			this.Controls.Add(this.button1);
			this.Controls.Add(this.dateTimePicker1);
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
			this.Name = "AddClass";
			this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
			this.Text = "新建班級(jí)";
			this.Load += new System.EventHandler(this.AddClass_Load);
			((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
			this.ResumeLayout(false);

		}
		#endregion

		private void button1_Click(object sender, System.EventArgs e)
		{
			if (textBox1.Text.Trim()=="" || comboBox1.Text.Trim()=="" || textBox3.Text.Trim()=="" || textBox5.Text.Trim()=="")
				MessageBox(0,"請(qǐng)輸入完整的班級(jí)信息","提示",0);
			else if(numericUpDown1.Value.ToString()=="")
			    MessageBox(0,"年制應(yīng)為數(shù)字或可接受的范圍","提示",0);
			else
			{
				oleDbConnection1.Open();
				OleDbCommand cmd=new OleDbCommand("select * from classinfo where classname='"+textBox1.Text.Trim()+"'",oleDbConnection1);
				if (null!=cmd.ExecuteScalar())
					MessageBox(0,"班級(jí)名稱發(fā)生重復(fù)","提示",0);
				else
				{
					string sql,sql1,sql2;
					sql1="insert into classinfo (classname,specialtyname,classnumber,length,teacher,enrolmenttime";
					sql2="values ('"+textBox1.Text.ToString()+"','"+comboBox1.Text.ToString()+"','"+textBox3.Text.ToString()+"',"+numericUpDown1.Value.ToString()+",'"+textBox5.Text.ToString()+"','"+dateTimePicker1.Text+"'";
					if (textBox2.Text!="") 
					{
						sql1=sql1+",remark";
						sql2=sql2+",'"+textBox2.Text.ToString()+"'";
					}
					sql=sql1+") "+sql2+")";
					cmd.CommandText=sql;
					cmd.ExecuteNonQuery();
					MessageBox(0,"班級(jí)信息添加成功","提示",0);
				}
				oleDbConnection1.Close();
			}
		}

		private void button2_Click(object sender, System.EventArgs e)
		{
		    this.Close();
		
		}

		private void AddClass_Load(object sender, System.EventArgs e)
		{
			string sql="select specialtyid,specialtyname from specialtyinfo";
			OleDbDataAdapter adp=new OleDbDataAdapter(sql,oleDbConnection1);
			//oleDbConnection1.ConnectionString="Data Source=.\\..\\..\\xsxxdb.mdb;Jet OLEDB:Engine Type=5;Provider=Microsoft.Jet.OLEDB.4.0;";
			DataSet ds=new DataSet();
			adp.Fill(ds,"specialtyinfo");
			comboBox1.DataSource=ds.Tables["specialtyinfo"].DefaultView;
			comboBox1.DisplayMember="specialtyname";
			comboBox1.ValueMember="specialtyid";
		}

		private void textBox4_TextChanged(object sender, System.EventArgs e)
		{
			
		}

	}
}

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲h在线观看| 9人人澡人人爽人人精品| 国产精品伦理一区二区| 日韩你懂的电影在线观看| 欧美日韩在线直播| 欧美亚洲日本国产| 91色.com| 日本久久一区二区| 97精品久久久久中文字幕| av激情综合网| 色又黄又爽网站www久久| 成人av网站免费观看| 成人av免费在线| 99精品欧美一区二区三区小说| 国产精品青草久久| 中文字幕欧美国产| 亚洲女人****多毛耸耸8| 亚洲日本va午夜在线影院| 亚洲精品日日夜夜| 亚洲国产精品麻豆| 欧美a级理论片| 激情五月婷婷综合网| 国产一区二区毛片| 99精品视频在线观看免费| 在线观看免费亚洲| 欧美一区二区精品| 国产婷婷色一区二区三区| 国产精品入口麻豆九色| 亚洲综合一二区| 久久97超碰国产精品超碰| 高清shemale亚洲人妖| 91香蕉视频污在线| 欧美一三区三区四区免费在线看 | 午夜精品成人在线| 免费观看久久久4p| 高清shemale亚洲人妖| 欧美午夜片在线观看| 精品国产伦一区二区三区免费| 国产精品免费aⅴ片在线观看| 亚洲国产一区二区a毛片| 日韩黄色片在线观看| 麻豆国产精品官网| 91蝌蚪porny| ww亚洲ww在线观看国产| 亚洲精品亚洲人成人网| 久久99精品久久久| 国产成都精品91一区二区三| 欧美日韩视频在线观看一区二区三区| 欧美精品久久99久久在免费线 | 精品视频在线视频| 2021中文字幕一区亚洲| 亚洲精品久久久蜜桃| 国产一区二区精品在线观看| 在线精品国精品国产尤物884a| 色综合欧美在线| 久久男人中文字幕资源站| 日韩欧美区一区二| 亚洲欧洲日产国产综合网| 久久精品国产99国产精品| 欧美在线免费观看视频| 日韩三级电影网址| 国产精品情趣视频| 欧美videos中文字幕| 色呦呦国产精品| 懂色一区二区三区免费观看| 在线成人午夜影院| 国产欧美精品一区二区色综合| 免费成人结看片| 欧美日韩亚洲国产综合| 亚洲综合色区另类av| av电影在线观看完整版一区二区| 久久日一线二线三线suv| 日本人妖一区二区| 91麻豆精品国产无毒不卡在线观看 | 国内精品写真在线观看 | 夜夜爽夜夜爽精品视频| 高清成人在线观看| 日韩欧美国产一区在线观看| 日本少妇一区二区| 色嗨嗨av一区二区三区| 亚洲欧美日韩国产中文在线| 不卡av在线免费观看| 中文字幕一区二区三区在线观看 | 不卡的电影网站| 中文字幕免费观看一区| 国产精品综合一区二区三区| 日韩一区二区在线看片| 久久99精品视频| 在线综合亚洲欧美在线视频| 日韩av电影免费观看高清完整版| 欧美三级电影网| 亚洲视频香蕉人妖| 欧美日韩一区三区| 亚洲高清在线精品| 日韩一区二区视频| 激情五月婷婷综合| 久久久久久久综合日本| 成人aaaa免费全部观看| 亚洲欧美日韩小说| 欧美日韩中文一区| 欧美a级一区二区| 国产午夜亚洲精品午夜鲁丝片| av欧美精品.com| 亚洲一区在线视频观看| 日韩一级黄色片| 国产精品一区二区三区网站| 国产精品视频一区二区三区不卡| 色综合久久88色综合天天免费| 亚洲国产色一区| 日韩一区二区三区在线| 国产成人aaa| 亚洲一级不卡视频| 91麻豆精品国产| 粉嫩av一区二区三区在线播放| 综合色中文字幕| 8v天堂国产在线一区二区| 久久激情综合网| 国产精品成人免费| 91精品国产91久久综合桃花| 国产盗摄一区二区| 亚洲小说春色综合另类电影| 91精品国产综合久久精品app| 九九热在线视频观看这里只有精品| 精品国产污污免费网站入口 | 国产精品美女一区二区在线观看| 成人黄色片在线观看| 五月综合激情婷婷六月色窝| 精品日韩一区二区三区免费视频| jizzjizzjizz欧美| 麻豆精品一区二区三区| 成人免费小视频| 日韩欧美一区中文| 99精品久久只有精品| 国产一区二区精品久久99| 中文字幕一区二区三区不卡在线| 欧美日韩精品电影| 成人性生交大片免费看中文| 午夜电影一区二区| 亚洲精品久久久蜜桃| 中文字幕欧美日韩一区| 精品日韩一区二区| 91精品国产综合久久久蜜臀图片 | 午夜精品福利一区二区蜜股av| 中文欧美字幕免费| 国产精品污污网站在线观看| 制服丝袜亚洲色图| 欧美亚洲国产一区二区三区 | 国产日韩欧美精品在线| 日韩免费视频一区二区| 欧美日韩久久久久久| fc2成人免费人成在线观看播放| 男女视频一区二区| 午夜精品一区二区三区免费视频| 亚洲欧美日韩在线不卡| 国产精品成人一区二区艾草| 久久精品亚洲麻豆av一区二区| 日韩免费观看高清完整版 | 欧美一区三区二区| 欧美二区三区91| 欧美日韩国产精品成人| 欧美色爱综合网| 在线一区二区三区四区五区| 色综合视频一区二区三区高清| 色综合久久中文字幕综合网 | 综合久久国产九一剧情麻豆| 中文字幕av一区二区三区高| 欧美国产一区视频在线观看| 国产精品国产三级国产普通话蜜臀| 久久久久久夜精品精品免费| 国产亚洲欧美一区在线观看| 日本一区免费视频| 亚洲欧洲日产国产综合网| 最近日韩中文字幕| 亚洲激情图片小说视频| 亚洲.国产.中文慕字在线| 日韩极品在线观看| 久久99久久精品| 风流少妇一区二区| 91老司机福利 在线| 67194成人在线观看| 精品88久久久久88久久久| 国产精品三级视频| 一区二区三区视频在线看| 欧美aaaaaa午夜精品| 韩国女主播成人在线| 成人av免费在线播放| 欧美在线不卡视频| 日韩一区二区高清| 欧美激情在线一区二区| 亚洲主播在线播放| 久久99国产精品免费网站| av成人老司机| 在线综合亚洲欧美在线视频| 久久婷婷久久一区二区三区| 亚洲免费视频中文字幕| 丝袜美腿亚洲综合| 国产91丝袜在线观看| 在线观看国产一区二区| 精品国产制服丝袜高跟| 一区二区三区国产精品|