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

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

?? modifystudent.cs

?? C#編寫的學(xué)籍管理系統(tǒng)
?? CS
?? 第 1 頁 / 共 2 頁
字號:
			this.label4.Name = "label4";
			this.label4.Size = new System.Drawing.Size(36, 21);
			this.label4.TabIndex = 31;
			this.label4.Text = "族別";
			// 
			// 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(44, 123);
			this.label3.Name = "label3";
			this.label3.Size = new System.Drawing.Size(36, 21);
			this.label3.TabIndex = 30;
			this.label3.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(44, 82);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(36, 21);
			this.label2.TabIndex = 29;
			this.label2.Text = "姓名";
			// 
			// 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(44, 51);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(36, 21);
			this.label1.TabIndex = 28;
			this.label1.Text = "學(xué)號";
			// 
			// comboBox4
			// 
			this.comboBox4.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.comboBox4.Enabled = false;
			this.comboBox4.Font = new System.Drawing.Font("宋體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
			this.comboBox4.ForeColor = System.Drawing.SystemColors.ControlText;
			this.comboBox4.Location = new System.Drawing.Point(417, 206);
			this.comboBox4.Name = "comboBox4";
			this.comboBox4.Size = new System.Drawing.Size(171, 23);
			this.comboBox4.TabIndex = 51;
			// 
			// comboBox3
			// 
			this.comboBox3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.comboBox3.Enabled = false;
			this.comboBox3.Font = new System.Drawing.Font("宋體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
			this.comboBox3.ForeColor = System.Drawing.SystemColors.ControlText;
			this.comboBox3.Location = new System.Drawing.Point(417, 165);
			this.comboBox3.Name = "comboBox3";
			this.comboBox3.Size = new System.Drawing.Size(171, 23);
			this.comboBox3.TabIndex = 50;
			this.comboBox3.SelectedIndexChanged += new System.EventHandler(this.comboBox3_SelectedIndexChanged);
			// 
			// comboBox2
			// 
			this.comboBox2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.comboBox2.Font = new System.Drawing.Font("宋體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
			this.comboBox2.ForeColor = System.Drawing.SystemColors.ControlText;
			this.comboBox2.Items.AddRange(new object[] {
														   "黨員",
														   "團員",
														   "群眾"});
			this.comboBox2.Location = new System.Drawing.Point(417, 82);
			this.comboBox2.Name = "comboBox2";
			this.comboBox2.Size = new System.Drawing.Size(96, 23);
			this.comboBox2.TabIndex = 49;
			// 
			// 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.ForeColor = System.Drawing.SystemColors.ControlText;
			this.comboBox1.Items.AddRange(new object[] {
														   "男",
														   "女"});
			this.comboBox1.Location = new System.Drawing.Point(108, 123);
			this.comboBox1.Name = "comboBox1";
			this.comboBox1.Size = new System.Drawing.Size(96, 23);
			this.comboBox1.TabIndex = 48;
			// 
			// button2
			// 
			this.button2.Font = new System.Drawing.Font("宋體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
			this.button2.ForeColor = System.Drawing.SystemColors.ControlText;
			this.button2.Location = new System.Drawing.Point(416, 350);
			this.button2.Name = "button2";
			this.button2.Size = new System.Drawing.Size(75, 31);
			this.button2.TabIndex = 46;
			this.button2.Text = "取消";
			// 
			// button1
			// 
			this.button1.Font = new System.Drawing.Font("宋體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
			this.button1.ForeColor = System.Drawing.SystemColors.ControlText;
			this.button1.Location = new System.Drawing.Point(117, 350);
			this.button1.Name = "button1";
			this.button1.Size = new System.Drawing.Size(75, 31);
			this.button1.TabIndex = 45;
			this.button1.Text = "確定";
			this.button1.Click += new System.EventHandler(this.button1_Click);
			// 
			// label13
			// 
			this.label13.Font = new System.Drawing.Font("宋體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
			this.label13.ForeColor = System.Drawing.SystemColors.ControlText;
			this.label13.Location = new System.Drawing.Point(43, 10);
			this.label13.Name = "label13";
			this.label13.Size = new System.Drawing.Size(74, 21);
			this.label13.TabIndex = 53;
			this.label13.Text = "zymc";
			this.label13.Visible = false;
			// 
			// oleDbConnection1
			// 
			this.oleDbConnection1.ConnectionString = "Data Source=xsxxdb.mdb;Jet OLEDB:Engine Type=5;Provider=Microsoft.Jet." +
				"OLEDB.4.0;";
			// 
			// label14
			// 
			this.label14.Font = new System.Drawing.Font("宋體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
			this.label14.ForeColor = System.Drawing.SystemColors.ControlText;
			this.label14.Location = new System.Drawing.Point(160, 10);
			this.label14.Name = "label14";
			this.label14.Size = new System.Drawing.Size(64, 21);
			this.label14.TabIndex = 54;
			this.label14.Text = "bjmc";
			this.label14.Visible = false;
			// 
			// pictureBox1
			// 
			this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
			this.pictureBox1.Location = new System.Drawing.Point(496, 240);
			this.pictureBox1.Name = "pictureBox1";
			this.pictureBox1.Size = new System.Drawing.Size(88, 96);
			this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
			this.pictureBox1.TabIndex = 56;
			this.pictureBox1.TabStop = false;
			this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click);
			// 
			// label15
			// 
			this.label15.AutoSize = true;
			this.label15.Font = new System.Drawing.Font("宋體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
			this.label15.ForeColor = System.Drawing.SystemColors.ControlText;
			this.label15.Location = new System.Drawing.Point(456, 248);
			this.label15.Name = "label15";
			this.label15.Size = new System.Drawing.Size(36, 21);
			this.label15.TabIndex = 55;
			this.label15.Text = "照片";
			// 
			// ModifyStudent
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(8, 18);
			this.ClientSize = new System.Drawing.Size(618, 397);
			this.Controls.Add(this.pictureBox1);
			this.Controls.Add(this.label15);
			this.Controls.Add(this.label14);
			this.Controls.Add(this.label13);
			this.Controls.Add(this.label12);
			this.Controls.Add(this.label11);
			this.Controls.Add(this.textBox10);
			this.Controls.Add(this.textBox8);
			this.Controls.Add(this.textBox6);
			this.Controls.Add(this.textBox5);
			this.Controls.Add(this.textBox4);
			this.Controls.Add(this.textBox2);
			this.Controls.Add(this.textBox1);
			this.Controls.Add(this.label10);
			this.Controls.Add(this.label9);
			this.Controls.Add(this.label8);
			this.Controls.Add(this.label7);
			this.Controls.Add(this.label6);
			this.Controls.Add(this.label5);
			this.Controls.Add(this.label4);
			this.Controls.Add(this.label3);
			this.Controls.Add(this.label2);
			this.Controls.Add(this.label1);
			this.Controls.Add(this.comboBox4);
			this.Controls.Add(this.comboBox3);
			this.Controls.Add(this.comboBox2);
			this.Controls.Add(this.comboBox1);
			this.Controls.Add(this.button2);
			this.Controls.Add(this.button1);
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
			this.Name = "ModifyStudent";
			this.Text = "修改學(xué)生信息";
			this.Load += new System.EventHandler(this.ModifyStudent_Load);
			this.ResumeLayout(false);

		}
		#endregion

		private void ModifyStudent_Load(object sender, System.EventArgs e)
		{
            //this.Text=this.Tag.ToString();
			oleDbConnection1.Open();
			OleDbDataAdapter adp=new OleDbDataAdapter("select SpecialtyName from SpecialtyInfo",oleDbConnection1);
			DataSet ds=new DataSet();
			adp.Fill(ds,"specialty");
			comboBox3.DisplayMember="SpecialtyName";
			comboBox3.ValueMember="SpecialtyName";
			comboBox3.DataSource=ds.Tables[0].DefaultView;
			comboBox3.Text=label13.Text.Trim();

            oleDbConnection1.Close();
			oleDbConnection1.Open();
			string sql="select photo from StudentInfo where StudentId="+this.Tag.ToString();
			OleDbCommand cmd=new OleDbCommand(sql,oleDbConnection1);
			if (Convert.DBNull!=cmd.ExecuteScalar())
				pictureBox1.Image=Image.FromStream(new MemoryStream((Byte[])cmd.ExecuteScalar()));
		}

		private void comboBox3_SelectedIndexChanged(object sender, System.EventArgs e)
		{
			if (comboBox3.Text.Trim()!="")
			{
				OleDbDataAdapter adp=new OleDbDataAdapter("select ClassId,ClassName from ClassInfo where SpecialtyName='"+comboBox3.Text.Trim()+"'",oleDbConnection1);
				DataSet ds=new DataSet();
				adp.Fill(ds,"Class");
				comboBox4.DisplayMember="ClassName";
				comboBox4.ValueMember="ClassId";
				comboBox4.DataSource=ds.Tables[0].DefaultView;
				comboBox4.Text=label14.Text.Trim();
			}
		}

		private Byte[] getphoto(string photopath)
		{
			string   str=photopath;
			FileStream   file   =     new   FileStream(str,FileMode.Open,   FileAccess.Read);
			Byte[]   bytBLOBData   =   new   Byte[file.Length];   
			file.Read(bytBLOBData,   0,   bytBLOBData.Length);
			file.Close();
			return bytBLOBData;
		}

		private void button1_Click(object sender, System.EventArgs e)
		{
			if (textBox1.Text.Trim()=="" || textBox2.Text.Trim()=="" || comboBox1.Text.Trim()=="" || textBox4.Text.Trim()=="" || textBox5.Text.Trim()=="" || textBox6.Text.Trim()=="" || comboBox2.Text.Trim()=="" || textBox8.Text.Trim()=="" ||  comboBox4.Text.Trim()=="")
				MessageBox.Show("請?zhí)顚懲暾膶W(xué)生信息","提示");
			else
			{   string sql;
				sql="select * from StudentInfo where StudentNumber='"+textBox1.Text.Trim()+"' and StudentId<>"+this.Tag.ToString().Trim();
				OleDbCommand cmd=new OleDbCommand(sql,oleDbConnection1);
				if (null!=cmd.ExecuteScalar())
					MessageBox.Show("學(xué)生學(xué)號重復(fù)","提示");
				else
				{
					
					sql="update StudentInfo set StudentNumber='"+textBox1.Text.ToString()+"',Name='"+textBox2.Text.ToString()+"',Sex='"+comboBox1.Text.Trim()+"',Race='"+textBox4.Text.ToString()+"',Address='"+textBox5.Text.ToString()+"',Telephone='"+textBox6.Text.ToString()+"',Role='"+comboBox2.Text.Trim()+"',PostalCode='"+textBox8.Text.ToString()+"',ClassId="+comboBox4.SelectedValue.ToString();
					if (textBox10.Text.Trim()!="")
						sql=sql+",Remark='"+textBox10.Text.Trim()+"'";
					if (openFileDialog1.FileName!="")
					{
						sql=sql+",Photo=?";
						Byte[]   bytBLOBData=getphoto(openFileDialog1.FileName);
						cmd.Parameters.Add(new   OleDbParameter("jpeg",OleDbType.Binary,bytBLOBData.Length,ParameterDirection.Input,true,0,0,null,DataRowVersion.Default,bytBLOBData));
					}
					sql=sql+" where StudentId="+this.Tag.ToString().Trim();
					cmd.CommandText=sql;
					cmd.ExecuteNonQuery();
					MessageBox.Show("學(xué)生信息修改成功","提示");
				}
			}
		}

		private void pictureBox1_Click(object sender, System.EventArgs e)
		{
				openFileDialog1.Filter="bmp|*.bmp|gif|*.gif|jpg|*jpg|jpeg|*.jpeg|ico|*.ico";
				openFileDialog1.ShowDialog();
			
				if (openFileDialog1.FileName!="")
					this.pictureBox1.Image=Image.FromFile(openFileDialog1.FileName);
		}
	}
}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美草草影院在线视频| 国模无码大尺度一区二区三区| 成人激情文学综合网| 国产欧美日韩亚州综合| 成人短视频下载| 亚洲欧美影音先锋| 99re热视频精品| 亚洲综合小说图片| 91精品国产91久久久久久最新毛片| 婷婷六月综合网| 日韩欧美一级片| 国产毛片一区二区| 中文字幕视频一区二区三区久| 色偷偷久久人人79超碰人人澡| 成人欧美一区二区三区白人| 91久久国产综合久久| 视频一区视频二区在线观看| 欧美成人激情免费网| 国产一区二区三区最好精华液| 国产欧美视频一区二区| 国产一二精品视频| 日韩欧美不卡一区| 国产精品一卡二卡在线观看| 亚洲日本韩国一区| 欧美一区二区成人6969| 精品夜夜嗨av一区二区三区| 国产欧美日韩视频一区二区 | 色香蕉成人二区免费| 午夜精品久久久久久久久久久| 久久一区二区三区四区| 欧美最新大片在线看| 国产在线一区观看| 国产精品麻豆久久久| 欧美日韩国产精品成人| 国产成人综合在线观看| 亚洲成人av中文| 欧美高清在线一区二区| 欧美日韩视频一区二区| 激情六月婷婷综合| 一区二区三区免费网站| 欧美va亚洲va| 日本乱人伦一区| 国内成+人亚洲+欧美+综合在线| 亚洲综合免费观看高清在线观看| 欧美精品一区二区三区在线| 在线精品国精品国产尤物884a| 国产一区欧美日韩| 日韩福利电影在线| 亚洲欧美电影院| 国产色一区二区| 正在播放一区二区| 色哟哟一区二区三区| 国产一区二区免费看| 亚洲va韩国va欧美va精品| 国产精品家庭影院| 久久夜色精品国产欧美乱极品| 欧美老肥妇做.爰bbww| 成人av在线电影| 国产一区欧美二区| 久久成人av少妇免费| 亚洲影视资源网| 亚洲三级视频在线观看| 国产欧美日韩在线观看| 精品三级在线观看| 欧美一级片在线| 精品视频一区 二区 三区| 色国产综合视频| 不卡一区在线观看| 成人午夜电影网站| 国产精华液一区二区三区| 日本欧美一区二区在线观看| 亚洲国产日韩精品| 亚洲午夜私人影院| 亚洲精品成a人| 亚洲免费伊人电影| 亚洲欧美一区二区三区国产精品 | 色婷婷综合在线| caoporn国产一区二区| 国产99精品在线观看| 精品一区二区免费在线观看| 久久99精品国产.久久久久| 日本免费在线视频不卡一不卡二| 午夜一区二区三区视频| 丝袜诱惑制服诱惑色一区在线观看| 一区二区国产视频| 亚洲第一狼人社区| 亚洲不卡av一区二区三区| 午夜电影一区二区| 麻豆国产精品官网| 久久99久久精品| 国产馆精品极品| 成人黄色小视频在线观看| 成人黄色综合网站| 91麻豆精品在线观看| 色狠狠av一区二区三区| 欧美色中文字幕| 欧美精品成人一区二区三区四区| 欧美日韩色一区| 日韩精品一区二区三区四区| 欧美精品一区二区高清在线观看| 久久尤物电影视频在线观看| 国产日韩欧美电影| 亚洲精品成人悠悠色影视| 三级亚洲高清视频| 狠狠色狠狠色综合日日91app| 国产成人福利片| 91成人看片片| 日韩亚洲欧美中文三级| 久久久99久久| 亚洲色图.com| 日本视频一区二区三区| 处破女av一区二区| 日本韩国欧美一区| 欧美一区二区视频在线观看| 国产亚洲一本大道中文在线| 中文字幕日韩一区| 免费xxxx性欧美18vr| 成人午夜激情视频| 欧美年轻男男videosbes| 精品国产凹凸成av人网站| 亚洲欧洲精品一区二区精品久久久 | 日韩视频中午一区| 国产精品久久久久久久第一福利 | 五月天亚洲婷婷| 丰满白嫩尤物一区二区| 欧美在线看片a免费观看| 久久综合五月天婷婷伊人| 亚洲欧洲国产专区| 蜜桃视频一区二区三区| 一本久道中文字幕精品亚洲嫩| 日韩一级欧美一级| 亚洲人亚洲人成电影网站色| 青青草成人在线观看| 一本大道久久a久久精二百| 精品国一区二区三区| 一级精品视频在线观看宜春院 | 国产亚洲污的网站| 日韩精品亚洲一区二区三区免费| fc2成人免费人成在线观看播放| 91精品一区二区三区久久久久久| 国产三级欧美三级日产三级99| 亚洲一区在线视频| 大白屁股一区二区视频| 欧美一区二区三区啪啪| 亚洲综合成人在线视频| 成人一二三区视频| 日韩欧美亚洲国产精品字幕久久久| 亚洲精品成人悠悠色影视| 丁香激情综合五月| 欧美本精品男人aⅴ天堂| 丝袜亚洲另类欧美综合| 色8久久人人97超碰香蕉987| 中文字幕一区三区| 丁香婷婷综合色啪| 久久色.com| 日本免费新一区视频| 欧美精品亚洲一区二区在线播放| 亚洲欧洲制服丝袜| 99久久综合国产精品| 欧美国产日韩亚洲一区| 国产在线一区观看| 91精品国产综合久久精品| 午夜久久久影院| 欧美午夜一区二区三区| 亚洲免费视频中文字幕| av一二三不卡影片| 国产精品日韩成人| 成人中文字幕合集| 国产丝袜在线精品| 国精品**一区二区三区在线蜜桃| 欧美成人猛片aaaaaaa| 久久91精品久久久久久秒播| 色偷偷久久人人79超碰人人澡| 日韩毛片精品高清免费| 99免费精品在线观看| 亚洲男同1069视频| 色综合久久久久综合体| 亚洲精品久久久蜜桃| 在线视频你懂得一区二区三区| 亚洲免费观看在线视频| 91美女视频网站| 亚洲午夜视频在线观看| 欧美人牲a欧美精品| 视频一区二区三区中文字幕| 欧美精品vⅰdeose4hd| 韩国成人福利片在线播放| 久久亚洲综合色| 福利视频网站一区二区三区| 国产精品久久久久久久久动漫| 91麻豆国产自产在线观看| 亚洲一区视频在线| 日韩一区二区免费视频| 国产主播一区二区三区| 国产视频一区在线播放| av一区二区三区黑人| 亚洲一区二区三区影院| 日韩欧美一区二区不卡| 国产白丝精品91爽爽久久| 中文字幕亚洲区| 欧美日韩精品二区第二页|