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

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

?? score_reserch.cs

?? 學生管理系統
?? CS
字號:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Data.SqlClient;

namespace chaxun
{
	/// <summary>
	/// Score_reserch 的摘要說明。
	/// </summary>
	public class Score_reserch : System.Windows.Forms.Form
	{
		private System.Windows.Forms.DataGrid dataGrid1;
		private System.Windows.Forms.Label label1;
		private System.Windows.Forms.Label label3;
		private System.Windows.Forms.Label label4;
		private System.Windows.Forms.Label label5;
		private System.Windows.Forms.GroupBox groupBox1;
		private System.Windows.Forms.RadioButton radioButton1;
		private System.Windows.Forms.RadioButton radioButton2;
		private System.Windows.Forms.TextBox txt_Xh;
		private System.Windows.Forms.Button btn_research;
		private System.Windows.Forms.TextBox txt_Cou_Scor;
		private System.Windows.Forms.TextBox txt_textID;
		private System.Windows.Forms.TextBox txt_avg;
		private System.Windows.Forms.Button button1;
		private System.Windows.Forms.GroupBox groupBox2;
		private System.Windows.Forms.GroupBox groupBox3;
		/// <summary>
		/// 必需的設計器變量。
		/// </summary>
		private System.ComponentModel.Container components = null;

		public Score_reserch()
		{
			//
			// Windows 窗體設計器支持所必需的
			//
			InitializeComponent();

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

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

		#region Windows 窗體設計器生成的代碼
		/// <summary>
		/// 設計器支持所需的方法 - 不要使用代碼編輯器修改
		/// 此方法的內容。
		/// </summary>
		private void InitializeComponent()
		{
			this.dataGrid1 = new System.Windows.Forms.DataGrid();
			this.label1 = new System.Windows.Forms.Label();
			this.txt_Xh = new System.Windows.Forms.TextBox();
			this.label3 = new System.Windows.Forms.Label();
			this.btn_research = new System.Windows.Forms.Button();
			this.txt_Cou_Scor = new System.Windows.Forms.TextBox();
			this.label4 = new System.Windows.Forms.Label();
			this.txt_textID = new System.Windows.Forms.TextBox();
			this.txt_avg = new System.Windows.Forms.TextBox();
			this.label5 = new System.Windows.Forms.Label();
			this.groupBox1 = new System.Windows.Forms.GroupBox();
			this.groupBox2 = new System.Windows.Forms.GroupBox();
			this.groupBox3 = new System.Windows.Forms.GroupBox();
			this.radioButton2 = new System.Windows.Forms.RadioButton();
			this.radioButton1 = new System.Windows.Forms.RadioButton();
			this.button1 = new System.Windows.Forms.Button();
			((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
			this.groupBox1.SuspendLayout();
			this.groupBox2.SuspendLayout();
			this.groupBox3.SuspendLayout();
			this.SuspendLayout();
			// 
			// dataGrid1
			// 
			this.dataGrid1.DataMember = "";
			this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
			this.dataGrid1.Location = new System.Drawing.Point(6, 6);
			this.dataGrid1.Name = "dataGrid1";
			this.dataGrid1.Size = new System.Drawing.Size(402, 224);
			this.dataGrid1.TabIndex = 0;
			// 
			// label1
			// 
			this.label1.Location = new System.Drawing.Point(18, 25);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(48, 18);
			this.label1.TabIndex = 1;
			this.label1.Text = "學 號:";
			// 
			// txt_Xh
			// 
			this.txt_Xh.Location = new System.Drawing.Point(84, 19);
			this.txt_Xh.Name = "txt_Xh";
			this.txt_Xh.Size = new System.Drawing.Size(75, 21);
			this.txt_Xh.TabIndex = 2;
			this.txt_Xh.Text = "";
			this.txt_Xh.TextChanged += new System.EventHandler(this.txt_Xh_TextChanged);
			// 
			// label3
			// 
			this.label3.Location = new System.Drawing.Point(18, 68);
			this.label3.Name = "label3";
			this.label3.Size = new System.Drawing.Size(36, 18);
			this.label3.TabIndex = 5;
			this.label3.Text = "總分:";
			// 
			// btn_research
			// 
			this.btn_research.Location = new System.Drawing.Point(12, 124);
			this.btn_research.Name = "btn_research";
			this.btn_research.Size = new System.Drawing.Size(72, 25);
			this.btn_research.TabIndex = 6;
			this.btn_research.Text = "查詢";
			this.btn_research.Click += new System.EventHandler(this.btn_research_Click);
			// 
			// txt_Cou_Scor
			// 
			this.txt_Cou_Scor.Location = new System.Drawing.Point(84, 62);
			this.txt_Cou_Scor.Name = "txt_Cou_Scor";
			this.txt_Cou_Scor.Size = new System.Drawing.Size(75, 21);
			this.txt_Cou_Scor.TabIndex = 7;
			this.txt_Cou_Scor.Text = "";
			// 
			// label4
			// 
			this.label4.Location = new System.Drawing.Point(12, 68);
			this.label4.Name = "label4";
			this.label4.Size = new System.Drawing.Size(66, 18);
			this.label4.TabIndex = 8;
			this.label4.Text = "課程號:";
			// 
			// txt_textID
			// 
			this.txt_textID.Location = new System.Drawing.Point(84, 62);
			this.txt_textID.Name = "txt_textID";
			this.txt_textID.Size = new System.Drawing.Size(75, 21);
			this.txt_textID.TabIndex = 9;
			this.txt_textID.Text = "";
			// 
			// txt_avg
			// 
			this.txt_avg.Location = new System.Drawing.Point(84, 106);
			this.txt_avg.Name = "txt_avg";
			this.txt_avg.Size = new System.Drawing.Size(75, 21);
			this.txt_avg.TabIndex = 10;
			this.txt_avg.Text = "";
			this.txt_avg.TextChanged += new System.EventHandler(this.txt_avg_TextChanged);
			// 
			// label5
			// 
			this.label5.Location = new System.Drawing.Point(12, 112);
			this.label5.Name = "label5";
			this.label5.Size = new System.Drawing.Size(60, 18);
			this.label5.TabIndex = 11;
			this.label5.Text = "平均成績:";
			// 
			// groupBox1
			// 
			this.groupBox1.Controls.Add(this.groupBox2);
			this.groupBox1.Controls.Add(this.groupBox3);
			this.groupBox1.Controls.Add(this.btn_research);
			this.groupBox1.Controls.Add(this.button1);
			this.groupBox1.Location = new System.Drawing.Point(18, 236);
			this.groupBox1.Name = "groupBox1";
			this.groupBox1.Size = new System.Drawing.Size(366, 162);
			this.groupBox1.TabIndex = 12;
			this.groupBox1.TabStop = false;
			this.groupBox1.Text = "查詢條件";
			// 
			// groupBox2
			// 
			this.groupBox2.Controls.Add(this.label1);
			this.groupBox2.Controls.Add(this.txt_Cou_Scor);
			this.groupBox2.Controls.Add(this.txt_Xh);
			this.groupBox2.Controls.Add(this.label3);
			this.groupBox2.Location = new System.Drawing.Point(6, 12);
			this.groupBox2.Name = "groupBox2";
			this.groupBox2.Size = new System.Drawing.Size(168, 94);
			this.groupBox2.TabIndex = 13;
			this.groupBox2.TabStop = false;
			// 
			// groupBox3
			// 
			this.groupBox3.Controls.Add(this.label5);
			this.groupBox3.Controls.Add(this.txt_avg);
			this.groupBox3.Controls.Add(this.label4);
			this.groupBox3.Controls.Add(this.txt_textID);
			this.groupBox3.Controls.Add(this.radioButton2);
			this.groupBox3.Controls.Add(this.radioButton1);
			this.groupBox3.Location = new System.Drawing.Point(186, 0);
			this.groupBox3.Name = "groupBox3";
			this.groupBox3.Size = new System.Drawing.Size(174, 149);
			this.groupBox3.TabIndex = 13;
			this.groupBox3.TabStop = false;
			// 
			// radioButton2
			// 
			this.radioButton2.Location = new System.Drawing.Point(102, 25);
			this.radioButton2.Name = "radioButton2";
			this.radioButton2.Size = new System.Drawing.Size(66, 19);
			this.radioButton2.TabIndex = 9;
			this.radioButton2.Text = "平均查詢";
			// 
			// radioButton1
			// 
			this.radioButton1.Location = new System.Drawing.Point(12, 25);
			this.radioButton1.Name = "radioButton1";
			this.radioButton1.Size = new System.Drawing.Size(66, 19);
			this.radioButton1.TabIndex = 8;
			this.radioButton1.Text = "總分查詢";
			this.radioButton1.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged);
			// 
			// button1
			// 
			this.button1.Location = new System.Drawing.Point(96, 124);
			this.button1.Name = "button1";
			this.button1.Size = new System.Drawing.Size(66, 25);
			this.button1.TabIndex = 12;
			this.button1.Text = "退出";
			this.button1.Click += new System.EventHandler(this.button1_Click);
			// 
			// Score_reserch
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
			this.ClientSize = new System.Drawing.Size(409, 405);
			this.Controls.Add(this.groupBox1);
			this.Controls.Add(this.dataGrid1);
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
			this.Name = "Score_reserch";
			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
			this.Text = "成績查詢";
			this.Load += new System.EventHandler(this.Score_reserch_Load);
			((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
			this.groupBox1.ResumeLayout(false);
			this.groupBox2.ResumeLayout(false);
			this.groupBox3.ResumeLayout(false);
			this.ResumeLayout(false);

		}
		#endregion

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

		private void Score_reserch_Load(object sender, System.EventArgs e)
		{
			SqlDataAdapter sda = new SqlDataAdapter("select S.xh as 學號,S.xm as 姓名,S.QQhm as QQ號碼, score.Scores as 分數,score.Test_Id as 課程編號 ,test.Test_name as 課程名稱 from student as S inner join score on score.xh = S.xh inner join test on test.Test_Id = score.Test_Id order by S.xh","Integrated Security=SSPI;Initial Catalog=xxgcx;Data Source=.");
			DataSet ds = new DataSet();
			sda.Fill(ds);
			this.dataGrid1.DataSource = ds.Tables[0];				
		}

		private void btn_research_Click(object sender, System.EventArgs e)
		{
			if(radioButton1.Checked == true) //查詢總分
			{
				SqlConnection cn = new SqlConnection("Integrated Security=SSPI;Initial Catalog=xxgcx;Data Source=.");
				cn.Open();
				SqlDataAdapter da = new SqlDataAdapter();
				SqlCommand cmd = new SqlCommand ();
				cmd.Connection=cn;
				cmd.CommandType=CommandType.StoredProcedure;
				cmd.CommandText="CustOrderHist";
				cmd.Parameters.Add("@aa",SqlDbType.Int, 100);
				cmd.Parameters["@aa"].Value=this.txt_Xh.Text.Trim();
				da.SelectCommand =cmd;
				DataSet ds =new DataSet();
				da.Fill(ds);					
				this.txt_Cou_Scor.Text = ds.Tables[0].Rows[0][0].ToString();
				cn.Close();
			}
			if(radioButton2.Checked == true) //查詢平均分
			{
				SqlConnection cn = new SqlConnection("Integrated Security=SSPI;Initial Catalog=xxgcx;Data Source=.");
				cn.Open();
				SqlDataAdapter da = new SqlDataAdapter();
				SqlCommand cmd = new SqlCommand ();
				cmd.Connection=cn;
				cmd.CommandType=CommandType.StoredProcedure;
				cmd.CommandText="kcpjf";
				cmd.Parameters.Add("@bb",SqlDbType.Int, 100);
				cmd.Parameters["@bb"].Value=this.txt_textID.Text.Trim();
				da.SelectCommand =cmd;
				DataSet ds =new DataSet();
				da.Fill(ds);					
				this.txt_avg.Text = ds.Tables[0].Rows[0][0].ToString();
				cn.Close();
			}
		}

		private void button1_Click(object sender, System.EventArgs e)
		{
			Application.Exit();
		}

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

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

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美性受xxxx黑人xyx性爽| 亚洲午夜三级在线| 国产一区二区视频在线播放| 91精品国产欧美一区二区成人| 亚洲精品欧美激情| 在线欧美日韩精品| 婷婷综合另类小说色区| 欧美日韩久久一区二区| 人人狠狠综合久久亚洲| 欧美成人精品1314www| 国产乱理伦片在线观看夜一区| 国产亚洲精品久| 不卡一区中文字幕| 洋洋成人永久网站入口| 欧美日韩免费观看一区三区| 欧美a一区二区| 国产精品素人一区二区| 99视频在线精品| 亚洲444eee在线观看| 日韩一区二区高清| 不卡一区二区中文字幕| 天天综合色天天综合色h| 欧美本精品男人aⅴ天堂| 高清久久久久久| 国产欧美一区二区三区在线看蜜臀 | 国产欧美日韩在线| 色婷婷av一区二区| 久久精品国产在热久久| 国产日本一区二区| 欧美日韩国产综合视频在线观看| 激情欧美一区二区三区在线观看| 中文字幕一区二区在线播放| 欧美日韩久久一区| 成人午夜免费视频| 日本不卡一区二区三区高清视频| 国产日韩欧美在线一区| 欧美日韩一区中文字幕| 国产一区二区三区国产| 亚洲综合无码一区二区| 精品国产免费人成在线观看| 91免费国产视频网站| 久久99精品国产麻豆婷婷| 1000精品久久久久久久久| 日韩欧美电影一二三| 在线精品视频免费播放| 国产成人午夜视频| 欧美揉bbbbb揉bbbbb| 国产在线视频一区二区三区| 亚洲一区免费在线观看| 国产精品美女久久久久久久久 | 成人激情av网| 麻豆freexxxx性91精品| 亚洲免费观看高清| 国产精品欧美精品| 精品国产制服丝袜高跟| 欧美三级电影网| 色婷婷综合久久久久中文一区二区| 久久不见久久见免费视频7 | 日韩国产高清影视| 亚洲激情图片qvod| 国产精品久久久久aaaa樱花| 久久影院视频免费| 欧美成人一区二区三区在线观看| 欧美日韩激情一区二区三区| 99视频精品全部免费在线| 国产成人在线影院| 国产一区二区三区四区五区美女 | 激情都市一区二区| 久久成人久久鬼色| 美女视频一区二区三区| 五月天一区二区三区| 一区二区视频在线| 亚洲乱码中文字幕| 国产91富婆露脸刺激对白| 久久精品国产澳门| 久久99精品国产.久久久久| 日韩高清在线电影| 日本特黄久久久高潮| 午夜不卡av免费| 日日噜噜夜夜狠狠视频欧美人| 一区二区三区精品视频在线| 亚洲免费观看高清完整版在线观看 | 丝袜a∨在线一区二区三区不卡| 亚洲精品成a人| 亚洲国产精品欧美一二99| 一区二区三区不卡视频| 亚洲激情自拍视频| 亚洲电影中文字幕在线观看| 亚洲一区二区精品视频| 亚洲成av人片观看| 日韩av一区二区三区四区| 日产精品久久久久久久性色| 日本成人在线看| 国内精品国产成人国产三级粉色| 国产成人精品一区二| 粉嫩嫩av羞羞动漫久久久 | 色综合久久九月婷婷色综合| 91影视在线播放| 欧美日免费三级在线| 日韩片之四级片| 久久久久久久综合日本| 中文字幕制服丝袜一区二区三区| ...中文天堂在线一区| 一区二区三区高清在线| 亚洲va中文字幕| 麻豆久久久久久久| 丁香亚洲综合激情啪啪综合| 91美女片黄在线观看91美女| 欧美日韩成人综合天天影院| 亚洲精品一区二区三区99| 国产精品免费视频一区| 亚洲妇熟xx妇色黄| 国产露脸91国语对白| 91看片淫黄大片一级在线观看| 欧美日韩mp4| 亚洲国产激情av| 日韩黄色小视频| 大白屁股一区二区视频| 在线观看视频一区二区欧美日韩| 精品sm捆绑视频| 一区二区三区在线观看欧美 | 欧美另类videos死尸| 精品国产电影一区二区| 国产精品久久久久影院亚瑟 | 欧美精品久久99| 中文字幕在线一区二区三区| 日日摸夜夜添夜夜添精品视频| 成人丝袜高跟foot| 欧美丰满高潮xxxx喷水动漫| 久久久精品免费网站| 午夜精品成人在线视频| 成人视屏免费看| 欧美大片一区二区| 一区二区三区在线观看视频| 国产精品影视天天线| 欧美片网站yy| 亚洲美女偷拍久久| 国产精品一区二区果冻传媒| 欧美日韩精品欧美日韩精品 | 精品国产一区二区三区忘忧草| 综合亚洲深深色噜噜狠狠网站| 精品一区二区三区影院在线午夜| 91看片淫黄大片一级在线观看| 久久久99精品免费观看不卡| 午夜视黄欧洲亚洲| 色香蕉久久蜜桃| 国产精品午夜电影| 国产在线精品不卡| 欧美情侣在线播放| 亚洲亚洲精品在线观看| 成人中文字幕在线| 久久久久久久久久久久久女国产乱| 香港成人在线视频| 欧美日韩视频专区在线播放| 国产精品久久久久影院亚瑟 | 一本到一区二区三区| 久久久天堂av| 精品一区二区成人精品| 欧美日韩精品高清| 天堂一区二区在线| 欧美日韩aaa| 亚洲一区二区三区精品在线| 一本大道久久a久久综合| 国产精品色呦呦| 成人app网站| 亚洲三级理论片| 色狠狠色噜噜噜综合网| 亚洲四区在线观看| 91久久精品日日躁夜夜躁欧美| 日韩伦理电影网| 色综合久久久久综合体| 亚洲免费成人av| 欧美日韩国产美| 秋霞电影网一区二区| 日韩欧美综合在线| 国产福利一区二区三区视频| 26uuu国产电影一区二区| 国产一区在线观看麻豆| 久久精品日产第一区二区三区高清版 | 国产不卡免费视频| 国产精品久久久爽爽爽麻豆色哟哟 | 一二三四社区欧美黄| 色域天天综合网| 无吗不卡中文字幕| 欧美不卡一二三| 久久婷婷成人综合色| 国产麻豆91精品| 亚洲欧洲色图综合| 欧美亚洲免费在线一区| 亚洲va国产天堂va久久en| 欧美高清一级片在线| 久久成人羞羞网站| 国产精品国产三级国产普通话三级 | 性做久久久久久免费观看| 欧美日韩激情在线| 国产精品亚洲第一| 亚洲激情在线播放| 欧美变态tickling挠脚心| 成人黄色综合网站| 亚洲成人免费在线|