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

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

?? 登錄.cs

?? 管理學院機房計費系統,VISUAL STUDIO .NET 2003 c# 語言實現,SQL SERVER 2000數據庫. 現運行正常.
?? CS
?? 第 1 頁 / 共 2 頁
字號:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Data.SqlClient;

namespace 機房計費系統
{
	/// <summary>
	/// 登錄 的摘要說明。
	/// </summary>
	public class frmLogin : System.Windows.Forms.Form
	{
		private System.Windows.Forms.Label label1;
		private System.Windows.Forms.Label label2;
		private System.Windows.Forms.TextBox textBox2;
		private System.Windows.Forms.Button button1;
		private System.Windows.Forms.Button button2;
		private System.Data.SqlClient.SqlConnection sqlConnection1;
		private string sql;
		private System.Windows.Forms.ComboBox comboBox1;
		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;
		/// <summary>
		/// 必需的設計器變量。
		/// </summary>
		private System.ComponentModel.Container components = null;

		public frmLogin()
		{
			//
			// 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.label1 = new System.Windows.Forms.Label();
			this.label2 = new System.Windows.Forms.Label();
			this.textBox2 = new System.Windows.Forms.TextBox();
			this.button1 = new System.Windows.Forms.Button();
			this.button2 = new System.Windows.Forms.Button();
			this.sqlConnection1 = new System.Data.SqlClient.SqlConnection();
			this.comboBox1 = new System.Windows.Forms.ComboBox();
			this.sqlDataAdapter1 = new System.Data.SqlClient.SqlDataAdapter();
			this.sqlDeleteCommand1 = new System.Data.SqlClient.SqlCommand();
			this.sqlInsertCommand1 = new System.Data.SqlClient.SqlCommand();
			this.sqlSelectCommand1 = new System.Data.SqlClient.SqlCommand();
			this.sqlUpdateCommand1 = new System.Data.SqlClient.SqlCommand();
			this.SuspendLayout();
			// 
			// label1
			// 
			this.label1.Font = new System.Drawing.Font("宋體", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
			this.label1.Location = new System.Drawing.Point(8, 32);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(72, 23);
			this.label1.TabIndex = 0;
			this.label1.Text = "用戶名";
			this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			this.label1.Click += new System.EventHandler(this.label1_Click);
			// 
			// label2
			// 
			this.label2.Font = new System.Drawing.Font("宋體", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
			this.label2.Location = new System.Drawing.Point(8, 72);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(72, 23);
			this.label2.TabIndex = 1;
			this.label2.Text = "密碼";
			this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			this.label2.Click += new System.EventHandler(this.label2_Click);
			// 
			// textBox2
			// 
			this.textBox2.Font = new System.Drawing.Font("宋體", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
			this.textBox2.Location = new System.Drawing.Point(96, 64);
			this.textBox2.MaxLength = 20;
			this.textBox2.Name = "textBox2";
			this.textBox2.PasswordChar = '*';
			this.textBox2.Size = new System.Drawing.Size(184, 26);
			this.textBox2.TabIndex = 1;
			this.textBox2.Text = "";
			this.textBox2.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox2_KeyPress);
			this.textBox2.TextChanged += new System.EventHandler(this.textBox2_TextChanged);
			// 
			// button1
			// 
			this.button1.Location = new System.Drawing.Point(88, 112);
			this.button1.Name = "button1";
			this.button1.TabIndex = 2;
			this.button1.Text = "確定";
			this.button1.Click += new System.EventHandler(this.button1_Click);
			// 
			// button2
			// 
			this.button2.Location = new System.Drawing.Point(192, 112);
			this.button2.Name = "button2";
			this.button2.TabIndex = 3;
			this.button2.Text = "退出";
			this.button2.Click += new System.EventHandler(this.button2_Click);
			// 
			// sqlConnection1
			// 
			this.sqlConnection1.ConnectionString = "workstation id=XU;packet size=4096;integrated security=SSPI;data source=XU;persis" +
				"t security info=False;initial catalog=jifei";
			// 
			// comboBox1
			// 
			this.comboBox1.Font = new System.Drawing.Font("宋體", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
			this.comboBox1.Location = new System.Drawing.Point(96, 32);
			this.comboBox1.Name = "comboBox1";
			this.comboBox1.Size = new System.Drawing.Size(184, 24);
			this.comboBox1.TabIndex = 4;
			this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
			// 
			// sqlDataAdapter1
			// 
			this.sqlDataAdapter1.DeleteCommand = this.sqlDeleteCommand1;
			this.sqlDataAdapter1.InsertCommand = this.sqlInsertCommand1;
			this.sqlDataAdapter1.SelectCommand = this.sqlSelectCommand1;
			this.sqlDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
																									  new System.Data.Common.DataTableMapping("Table", "操作員表", new System.Data.Common.DataColumnMapping[] {
																																																			  new System.Data.Common.DataColumnMapping("ID", "ID"),
																																																			  new System.Data.Common.DataColumnMapping("姓名", "姓名"),
																																																			  new System.Data.Common.DataColumnMapping("密碼", "密碼"),
																																																			  new System.Data.Common.DataColumnMapping("權限", "權限")})});
			this.sqlDataAdapter1.UpdateCommand = this.sqlUpdateCommand1;
			// 
			// sqlDeleteCommand1
			// 
			this.sqlDeleteCommand1.CommandText = "DELETE FROM 操作員表 WHERE (ID = @Original_ID) AND (姓名 = @Original_姓名 OR @Original_姓名" +
				" IS NULL AND 姓名 IS NULL) AND (密碼 = @Original_密碼 OR @Original_密碼 IS NULL AND 密碼 I" +
				"S NULL) AND (權限 = @Original_權限 OR @Original_權限 IS NULL AND 權限 IS NULL)";
			this.sqlDeleteCommand1.Connection = this.sqlConnection1;
			this.sqlDeleteCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_ID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "ID", System.Data.DataRowVersion.Original, null));
			this.sqlDeleteCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_姓名", System.Data.SqlDbType.VarChar, 50, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "姓名", System.Data.DataRowVersion.Original, null));
			this.sqlDeleteCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_密碼", System.Data.SqlDbType.VarChar, 50, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "密碼", System.Data.DataRowVersion.Original, null));
			this.sqlDeleteCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_權限", System.Data.SqlDbType.VarChar, 50, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "權限", System.Data.DataRowVersion.Original, null));
			// 
			// sqlInsertCommand1
			// 
			this.sqlInsertCommand1.CommandText = "INSERT INTO 操作員表(姓名, 密碼, 權限) VALUES (@姓名, @密碼, @權限); SELECT ID, 姓名, 密碼, 權限 FROM 操" +
				"作員表 WHERE (ID = @@IDENTITY)";
			this.sqlInsertCommand1.Connection = this.sqlConnection1;
			this.sqlInsertCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@姓名", System.Data.SqlDbType.VarChar, 50, "姓名"));
			this.sqlInsertCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@密碼", System.Data.SqlDbType.VarChar, 50, "密碼"));
			this.sqlInsertCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@權限", System.Data.SqlDbType.VarChar, 50, "權限"));
			// 
			// sqlSelectCommand1

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲尤物在线视频观看| 国产欧美日产一区| 91久久精品一区二区三区| 国产露脸91国语对白| 美腿丝袜亚洲一区| 经典三级在线一区| 久草在线在线精品观看| 激情小说亚洲一区| 风流少妇一区二区| 色综合一区二区| 在线观看亚洲专区| 91精品久久久久久蜜臀| 欧美videossexotv100| 久久你懂得1024| 国产精品毛片大码女人| 亚洲伦理在线免费看| 亚洲bt欧美bt精品| 国产激情91久久精品导航| eeuss鲁片一区二区三区在线观看| 成人动漫在线一区| 欧美色综合久久| 2020日本不卡一区二区视频| 中文幕一区二区三区久久蜜桃| 一区二区三区资源| 美腿丝袜在线亚洲一区| youjizz久久| 欧美一区二区三区在线电影| 久久综合视频网| 一区二区三区四区国产精品| 麻豆中文一区二区| av福利精品导航| 在线播放欧美女士性生活| 国产精品天天看| 日韩1区2区3区| av在线一区二区| 日韩一区二区三区在线视频| 欧美—级在线免费片| 亚洲 欧美综合在线网络| 国产乱子伦视频一区二区三区| 色综合视频在线观看| 精品久久久久av影院| 一个色在线综合| 国产精品一区在线| 欧美精品在线一区二区三区| 国产精品久久福利| 黑人巨大精品欧美一区| 欧美天堂亚洲电影院在线播放| 国产性天天综合网| 丝袜亚洲另类丝袜在线| 99久久精品国产一区二区三区| 欧美zozozo| 日精品一区二区三区| 色天使色偷偷av一区二区| 国产午夜精品理论片a级大结局| 偷拍亚洲欧洲综合| 欧美亚洲另类激情小说| 亚洲欧美另类图片小说| 国产成人午夜精品影院观看视频| 欧美夫妻性生活| 亚洲一区二区欧美日韩| 91小视频免费看| 国产精品欧美极品| 高清在线观看日韩| 欧美成人video| 蜜桃传媒麻豆第一区在线观看| 欧美三级视频在线| 一区二区成人在线| 欧美网站一区二区| 五月婷婷激情综合| 欧美日本韩国一区二区三区视频| 悠悠色在线精品| 在线精品观看国产| 亚洲国产欧美日韩另类综合| 色菇凉天天综合网| 亚洲综合无码一区二区| 91国产精品成人| 亚洲午夜激情网站| 91精品国产高清一区二区三区 | 懂色一区二区三区免费观看 | 成人精品视频一区二区三区| 精品国产一区久久| 久久99精品视频| 欧美精彩视频一区二区三区| 成人精品电影在线观看| 亚洲手机成人高清视频| 在线视频欧美精品| 日日夜夜一区二区| 精品国产一区二区三区四区四| 精品亚洲成a人在线观看| 欧美极品另类videosde| 97aⅴ精品视频一二三区| 亚洲一区二区五区| 欧美一区二区三区四区久久| 激情综合网最新| 中文字幕一区二区三| 欧美中文字幕一二三区视频| 婷婷久久综合九色国产成人 | 日本欧美大码aⅴ在线播放| 日韩欧美精品在线视频| 国产成人高清视频| 亚洲自拍偷拍网站| 26uuu欧美| 色偷偷久久人人79超碰人人澡| 五月婷婷欧美视频| 久久久不卡影院| 欧美色爱综合网| 国产精品夜夜爽| 天天做天天摸天天爽国产一区| 精品国产乱码久久久久久久久| k8久久久一区二区三区| 日本亚洲电影天堂| 亚洲天堂2014| 日韩欧美国产一区二区在线播放| 成人精品视频一区| 麻豆成人av在线| 一区二区三区丝袜| 亚洲国产精品传媒在线观看| 欧美三级日韩在线| 99久久99久久精品免费观看| 久久99精品久久久久久国产越南 | 色婷婷激情综合| 黑人巨大精品欧美一区| 亚洲成人免费在线观看| 久久久综合精品| 欧美一区二区三区在线看| 欧美中文字幕不卡| 99热99精品| 国产在线一区二区综合免费视频| 亚洲成人免费看| 亚洲视频资源在线| 国产精品欧美经典| 久久久久久久国产精品影院| 欧美一区二区精美| 欧美日韩成人综合在线一区二区| 91免费观看视频| 成人精品视频网站| 国产精品77777| 国模无码大尺度一区二区三区| 日韩电影一区二区三区| 亚洲观看高清完整版在线观看| 亚洲丝袜制服诱惑| 亚洲欧美另类小说视频| 国产精品福利av| 国产精品久久夜| 国产精品女主播av| 国产精品美女久久久久aⅴ| 国产欧美一区二区精品秋霞影院 | 色婷婷久久综合| 色综合婷婷久久| 色成年激情久久综合| 一本大道av一区二区在线播放| bt欧美亚洲午夜电影天堂| 国产99久久精品| a在线欧美一区| 91免费版在线| 欧美三级电影精品| 欧美精品久久久久久久多人混战| 欧美天堂一区二区三区| 欧美日韩国产美| 日韩午夜激情视频| 久久亚洲综合色一区二区三区| 久久久精品中文字幕麻豆发布| 久久久久九九视频| 综合av第一页| 亚洲一区二区三区不卡国产欧美 | 精品福利一二区| 久久久一区二区| 国产精品福利av| 亚洲成人av一区| 精品一区二区三区不卡| 99综合电影在线视频| 91成人免费在线| 日韩欧美一级二级三级久久久| 久久久另类综合| 一区二区三区.www| 美女视频黄免费的久久| 成人教育av在线| 欧美日韩久久不卡| 久久久久久97三级| 一二三区精品视频| 国产在线精品不卡| 色婷婷久久久亚洲一区二区三区| 717成人午夜免费福利电影| 久久久久久久久久久久电影| 亚洲欧美精品午睡沙发| 免费成人在线视频观看| 风间由美性色一区二区三区| 91黄色激情网站| 国产亚洲1区2区3区| 亚洲国产精品一区二区www| 国产成人自拍网| 在线播放中文字幕一区| 综合久久久久久| 精一区二区三区| 精品视频资源站| 日韩一区在线播放| 狠狠色狠狠色合久久伊人| 欧美系列亚洲系列| 国产精品美女久久久久久久久久久 | 日韩视频免费直播|