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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? 綜合信息.cs

?? 用c#編寫的一個學生信息管理系統
?? CS
字號:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Data.SqlClient;

namespace student
{
	/// <summary>
	/// 綜合信息 的摘要說明。
	/// </summary>
	public class 綜合信息 : System.Windows.Forms.Form
	{
		private System.Windows.Forms.Panel panel1;
		private System.Windows.Forms.Panel panel2;
		private System.Windows.Forms.Label label1;
		private System.Windows.Forms.Label label2;
		private System.Windows.Forms.TextBox textBox1;
		private System.Windows.Forms.Label label3;
		private System.Windows.Forms.TextBox textBox2;
		private System.Windows.Forms.Label label4;
		private System.Windows.Forms.TextBox textBox3;
		private System.Windows.Forms.Label label5;
		private System.Windows.Forms.TextBox textBox4;
		private System.Windows.Forms.Label label6;
		private System.Windows.Forms.TextBox textBox5;
		private System.Windows.Forms.Label label7;
		private System.Windows.Forms.TextBox textBox6;
		private System.Windows.Forms.Button button1;
		private System.Windows.Forms.Label label8;
		/// <summary>
		/// 必需的設計器變量。
		/// </summary>
		private System.ComponentModel.Container components = null;

		public 綜合信息()
		{
			//
			// Windows 窗體設計器支持所必需的
			//
			InitializeComponent();

			//
			// TODO: 在 InitializeComponent 調用后添加任何構造函數代碼
			//
		}

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

		#region Windows Form Designer generated code
		/// <summary>
		/// 設計器支持所需的方法 - 不要使用代碼編輯器修改
		/// 此方法的內容。
		/// </summary>
		private void InitializeComponent()
		{
			this.panel1 = new System.Windows.Forms.Panel();
			this.panel2 = new System.Windows.Forms.Panel();
			this.label1 = new System.Windows.Forms.Label();
			this.label2 = new System.Windows.Forms.Label();
			this.textBox1 = new System.Windows.Forms.TextBox();
			this.label3 = new System.Windows.Forms.Label();
			this.textBox2 = new System.Windows.Forms.TextBox();
			this.label4 = new System.Windows.Forms.Label();
			this.textBox3 = new System.Windows.Forms.TextBox();
			this.label5 = new System.Windows.Forms.Label();
			this.textBox4 = new System.Windows.Forms.TextBox();
			this.label6 = new System.Windows.Forms.Label();
			this.textBox5 = new System.Windows.Forms.TextBox();
			this.label7 = new System.Windows.Forms.Label();
			this.textBox6 = new System.Windows.Forms.TextBox();
			this.button1 = new System.Windows.Forms.Button();
			this.label8 = new System.Windows.Forms.Label();
			this.panel1.SuspendLayout();
			this.panel2.SuspendLayout();
			this.SuspendLayout();
			// 
			// panel1
			// 
			this.panel1.Controls.AddRange(new System.Windows.Forms.Control[] {
																				 this.textBox1,
																				 this.label2,
																				 this.label1});
			this.panel1.Location = new System.Drawing.Point(16, 16);
			this.panel1.Name = "panel1";
			this.panel1.Size = new System.Drawing.Size(368, 88);
			this.panel1.TabIndex = 0;
			// 
			// panel2
			// 
			this.panel2.Controls.AddRange(new System.Windows.Forms.Control[] {
																				 this.label8,
																				 this.button1,
																				 this.textBox6,
																				 this.label7,
																				 this.textBox5,
																				 this.label6,
																				 this.textBox4,
																				 this.label5,
																				 this.textBox3,
																				 this.label4,
																				 this.textBox2,
																				 this.label3});
			this.panel2.Location = new System.Drawing.Point(16, 112);
			this.panel2.Name = "panel2";
			this.panel2.Size = new System.Drawing.Size(368, 184);
			this.panel2.TabIndex = 1;
			// 
			// label1
			// 
			this.label1.Font = new System.Drawing.Font("華文行楷", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
			this.label1.ForeColor = System.Drawing.Color.Red;
			this.label1.Location = new System.Drawing.Point(16, 8);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(312, 24);
			this.label1.TabIndex = 0;
			this.label1.Text = "請輸入要查詢的學生的學號";
			// 
			// label2
			// 
			this.label2.Location = new System.Drawing.Point(16, 48);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(64, 24);
			this.label2.TabIndex = 1;
			this.label2.Text = "學號:";
			// 
			// textBox1
			// 
			this.textBox1.Location = new System.Drawing.Point(112, 48);
			this.textBox1.Name = "textBox1";
			this.textBox1.Size = new System.Drawing.Size(120, 21);
			this.textBox1.TabIndex = 2;
			this.textBox1.Text = "";
			// 
			// label3
			// 
			this.label3.Location = new System.Drawing.Point(8, 56);
			this.label3.Name = "label3";
			this.label3.Size = new System.Drawing.Size(80, 16);
			this.label3.TabIndex = 1;
			this.label3.Text = "姓名";
			// 
			// textBox2
			// 
			this.textBox2.Location = new System.Drawing.Point(104, 56);
			this.textBox2.Name = "textBox2";
			this.textBox2.Size = new System.Drawing.Size(80, 21);
			this.textBox2.TabIndex = 2;
			this.textBox2.Text = "";
			// 
			// label4
			// 
			this.label4.Location = new System.Drawing.Point(8, 96);
			this.label4.Name = "label4";
			this.label4.Size = new System.Drawing.Size(80, 24);
			this.label4.TabIndex = 3;
			this.label4.Text = "學號:";
			// 
			// textBox3
			// 
			this.textBox3.Location = new System.Drawing.Point(104, 96);
			this.textBox3.Name = "textBox3";
			this.textBox3.Size = new System.Drawing.Size(80, 21);
			this.textBox3.TabIndex = 4;
			this.textBox3.Text = "";
			// 
			// label5
			// 
			this.label5.Location = new System.Drawing.Point(8, 136);
			this.label5.Name = "label5";
			this.label5.Size = new System.Drawing.Size(80, 24);
			this.label5.TabIndex = 5;
			this.label5.Text = "性別:";
			// 
			// textBox4
			// 
			this.textBox4.Location = new System.Drawing.Point(104, 136);
			this.textBox4.Name = "textBox4";
			this.textBox4.Size = new System.Drawing.Size(80, 21);
			this.textBox4.TabIndex = 6;
			this.textBox4.Text = "";
			// 
			// label6
			// 
			this.label6.Location = new System.Drawing.Point(200, 56);
			this.label6.Name = "label6";
			this.label6.Size = new System.Drawing.Size(56, 24);
			this.label6.TabIndex = 7;
			this.label6.Text = "年齡:";
			// 
			// textBox5
			// 
			this.textBox5.Location = new System.Drawing.Point(280, 56);
			this.textBox5.Name = "textBox5";
			this.textBox5.Size = new System.Drawing.Size(80, 21);
			this.textBox5.TabIndex = 8;
			this.textBox5.Text = "";
			// 
			// label7
			// 
			this.label7.Location = new System.Drawing.Point(200, 96);
			this.label7.Name = "label7";
			this.label7.Size = new System.Drawing.Size(56, 24);
			this.label7.TabIndex = 9;
			this.label7.Text = "所在系:";
			// 
			// textBox6
			// 
			this.textBox6.Location = new System.Drawing.Point(280, 96);
			this.textBox6.Name = "textBox6";
			this.textBox6.Size = new System.Drawing.Size(80, 21);
			this.textBox6.TabIndex = 10;
			this.textBox6.Text = "";
			// 
			// button1
			// 
			this.button1.Location = new System.Drawing.Point(224, 136);
			this.button1.Name = "button1";
			this.button1.Size = new System.Drawing.Size(104, 24);
			this.button1.TabIndex = 11;
			this.button1.Text = "查詢";
			this.button1.Click += new System.EventHandler(this.button1_Click);
			// 
			// label8
			// 
			this.label8.Font = new System.Drawing.Font("華文行楷", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
			this.label8.ForeColor = System.Drawing.Color.Red;
			this.label8.Location = new System.Drawing.Point(8, 8);
			this.label8.Name = "label8";
			this.label8.Size = new System.Drawing.Size(336, 32);
			this.label8.TabIndex = 12;
			this.label8.Text = "輸出查詢結果如下:";
			// 
			// 綜合信息
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
			this.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(128)), ((System.Byte)(128)), ((System.Byte)(255)));
			this.ClientSize = new System.Drawing.Size(400, 314);
			this.Controls.AddRange(new System.Windows.Forms.Control[] {
																		  this.panel2,
																		  this.panel1});
			this.Name = "綜合信息";
			this.Text = "綜合信息";
			this.panel1.ResumeLayout(false);
			this.panel2.ResumeLayout(false);
			this.ResumeLayout(false);

		}
		#endregion

		private void button1_Click(object sender, System.EventArgs e)
		{
			try
			{
				int i=0;
				string hostname=System.Net.Dns.GetHostName();
				string cnStr="Integrated Security=SSPI;Persist Security Info=False;password=;" 
					+"Initial Catalog=學生信息管理系統;Data Source='"+hostname+"'";
				SqlConnection cn=new SqlConnection(cnStr);
				cn.Open();
				string sqlStr="select * from xs";
				SqlCommand cmd=new SqlCommand(sqlStr,cn);
				SqlDataReader dr=cmd.ExecuteReader();

			
				while(dr.Read())
				{
				
					string sno1=dr["sno"].ToString();
					string sname1=dr["sname"].ToString();
					
					string sno2=sno1.Trim();
					string sname2=sname1.Trim();
					if(dr["sno"].ToString().Trim()==textBox1.Text)
					{
						textBox2.Text=dr[1].ToString();
						textBox3.Text=dr[0].ToString();
						textBox4.Text=dr[2].ToString();
						textBox5.Text=dr[3].ToString();
						textBox6.Text=dr[4].ToString();
						i=1;	
						break;
					}
				}
				if(i==0)
				{
					MessageBox.Show("輸入錯誤!");
				}
			
				dr.Close();
				cn.Close();
			}
			catch(SqlException)
			{
				MessageBox.Show("輸入錯誤!");
			}
		}
	}
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩亚洲欧美综合| 99久久久久免费精品国产| 亚洲视频 欧洲视频| 国产色一区二区| 国产午夜一区二区三区| 亚洲国产电影在线观看| 一区在线播放视频| 中文字幕一区二区三区四区不卡| 国产视频911| 最近中文字幕一区二区三区| 亚洲精品大片www| 亚洲6080在线| 久久国内精品视频| 男女男精品网站| 韩国理伦片一区二区三区在线播放| 精品一区二区三区香蕉蜜桃| 国产精品18久久久久久久久 | 国产激情视频一区二区三区欧美 | 国产精品一区在线观看乱码| 国产永久精品大片wwwapp| 国产激情视频一区二区三区欧美 | 偷拍一区二区三区| 久久国产精品色| 国产精品系列在线观看| 91亚洲精品久久久蜜桃网站| 欧美色区777第一页| 精品免费国产二区三区| 国产偷国产偷精品高清尤物| 亚洲黄色小说网站| 青草av.久久免费一区| 国产suv精品一区二区三区| 在线观看日韩高清av| 欧美一激情一区二区三区| 国产视频一区不卡| 亚洲 欧美综合在线网络| 国产一区二区成人久久免费影院 | 91麻豆高清视频| 欧美一区二区三区在线| 中文字幕第一区第二区| 亚洲国产精品久久久久秋霞影院| 精品一区二区三区在线观看国产| 91亚洲男人天堂| 欧美成人激情免费网| 亚洲日本成人在线观看| 久久91精品国产91久久小草| 欧美怡红院视频| 国产精品嫩草99a| 久久国产精品一区二区| 欧美老年两性高潮| 亚洲欧洲av一区二区三区久久| 麻豆一区二区99久久久久| 在线免费观看日韩欧美| 国产精品久久久久久久蜜臀| 国内精品在线播放| 日韩欧美激情在线| 午夜免费久久看| 欧美在线观看视频一区二区| 中文字幕一区二区不卡| 久国产精品韩国三级视频| 欧美高清性hdvideosex| 亚洲午夜久久久久久久久电影院| 国产91在线观看丝袜| 欧美不卡一二三| 免费在线看成人av| 欧美一区永久视频免费观看| 亚洲成人精品一区二区| 色婷婷av一区二区| 亚洲欧美激情视频在线观看一区二区三区| 久久www免费人成看片高清| 这里只有精品视频在线观看| 日韩电影在线免费观看| 欧美一级免费大片| 男女激情视频一区| 日韩精品一区二区三区在线| 精品一区中文字幕| 日韩手机在线导航| 精品无人码麻豆乱码1区2区 | 成人免费福利片| 中文字幕欧美日韩一区| 成人免费电影视频| 亚洲在线中文字幕| 欧美日韩国产综合视频在线观看 | 91久久久免费一区二区| 亚洲免费色视频| 欧美在线观看视频一区二区 | 日韩国产精品久久| 日韩精品一区国产麻豆| 国产高清精品网站| 亚洲特黄一级片| 欧美熟乱第一页| 六月丁香婷婷久久| 欧美极品美女视频| 欧美日韩免费电影| 激情综合五月婷婷| 亚洲女性喷水在线观看一区| 欧美午夜一区二区三区免费大片| 毛片基地黄久久久久久天堂| 久久综合久久综合亚洲| 99精品黄色片免费大全| 亚洲1区2区3区4区| 久久久久久久久一| 亚洲精品老司机| 怡红院av一区二区三区| 国产午夜精品美女毛片视频| 波多野结衣中文字幕一区二区三区 | 成人综合婷婷国产精品久久| 中文字幕五月欧美| 777午夜精品免费视频| 国产精品一区一区| 亚洲成av人片一区二区三区| 欧美电影免费观看高清完整版在| 成人综合在线观看| 亚洲va欧美va国产va天堂影院| 26uuu久久综合| 在线看一区二区| 国产毛片精品一区| 最好看的中文字幕久久| 日韩视频中午一区| 欧美综合在线视频| 国产麻豆精品在线| 日本美女一区二区三区视频| 国产精品二三区| www国产亚洲精品久久麻豆| 一本一本大道香蕉久在线精品| 秋霞电影网一区二区| 亚洲欧美一区二区三区国产精品| 91精品国产高清一区二区三区蜜臀| 不卡的av电影| 国产最新精品免费| 婷婷综合五月天| 亚洲美女少妇撒尿| 久久综合给合久久狠狠狠97色69| 欧美日韩一卡二卡三卡| 色综合天天综合网国产成人综合天 | 色先锋aa成人| 国产精品自拍一区| 久久国产视频网| 蜜臀av一区二区| 午夜视频在线观看一区二区| 亚洲欧美激情插| 中文字幕亚洲精品在线观看| 亚洲国产精华液网站w| 久久这里只精品最新地址| 欧美v国产在线一区二区三区| 欧美日韩国产经典色站一区二区三区| 色综合久久中文字幕综合网| 成人av综合一区| 成人福利视频在线看| 国产激情视频一区二区在线观看 | 国产精品99久久久久久有的能看| 免费久久99精品国产| 五月天激情综合| 午夜精品一区在线观看| 婷婷丁香久久五月婷婷| 免费观看30秒视频久久| 久久国产人妖系列| 国产自产v一区二区三区c| 六月丁香婷婷久久| 国产中文字幕一区| 高清国产一区二区| bt欧美亚洲午夜电影天堂| 97精品久久久久中文字幕| 色婷婷久久久久swag精品 | 国产日韩欧美麻豆| 国产精品久久福利| 亚洲精品一二三四区| 夜夜夜精品看看| 美女精品一区二区| 国产91在线看| 在线视频一区二区免费| 欧美一区2区视频在线观看| 精品国产乱码久久久久久牛牛| 久久精品人人爽人人爽| 国产精品久久久久久久久久久免费看| 国产精品久久久久久久久图文区 | 丁香婷婷综合网| 91视视频在线直接观看在线看网页在线看 | 欧美色网一区二区| 精品国产一区二区三区四区四| 国产偷v国产偷v亚洲高清| 亚洲黄色小视频| 久久精品国产网站| 91视频观看免费| 日韩欧美一级二级| 亚洲欧洲成人自拍| 久久精品国产色蜜蜜麻豆| 一本色道久久综合亚洲精品按摩| 日韩欧美激情在线| 亚洲精品日韩综合观看成人91| 日韩av一级电影| 93久久精品日日躁夜夜躁欧美| 欧美一区二区久久| 亚洲码国产岛国毛片在线| 久久99久久久久久久久久久| 色哟哟国产精品免费观看| 久久亚区不卡日本| 亚洲成人1区2区| 色综合欧美在线视频区| 26uuu另类欧美| 热久久久久久久|