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

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

?? user.cs

?? c#和sql 圖管理系統簡單模式 老師做的給大家參考了
?? CS
?? 第 1 頁 / 共 2 頁
字號:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using Library.UserInterface;
using Library.DataLevel;

namespace Library
{
	/// <summary>
	/// User 的摘要說明。
	/// </summary>
	public class User : System.Windows.Forms.Form
	{
		private System.Windows.Forms.Button btnDelete;
		private System.Windows.Forms.Label lblDatasetPosition;
		private System.Windows.Forms.Button btnPrevious;
		private System.Windows.Forms.Button btnNext;
		private System.Windows.Forms.Button btnLast;
		private System.Windows.Forms.Button btnFirst;
		private System.Windows.Forms.GroupBox groupBox1;
		private System.Windows.Forms.TextBox textSort;
		private System.Windows.Forms.Label label7;
		private System.Windows.Forms.TextBox textId;
		private System.Windows.Forms.Label label2;
		private System.Windows.Forms.Label label1;
		private System.Windows.Forms.Button btnExit;
		private System.Windows.Forms.GroupBox groupBox3;
		private System.Windows.Forms.Button btnAdd;
		private System.Windows.Forms.Button btnModify;
		private System.Windows.Forms.Button btnCancel;
		private System.Windows.Forms.Button btnApply;
		private System.Windows.Forms.TextBox textPassword;
		private System.Data.SqlClient.SqlConnection sqlConnection1;
		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;
		private Library.UserInterface.DataSetUser objDataSetUser;
		/// <summary>
		/// 必需的設計器變量。
		/// </summary>
		private System.ComponentModel.Container components = null;

		public User()
		{
			//
			// 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()
		{
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(User));
			this.btnDelete = new System.Windows.Forms.Button();
			this.lblDatasetPosition = new System.Windows.Forms.Label();
			this.btnPrevious = new System.Windows.Forms.Button();
			this.btnNext = new System.Windows.Forms.Button();
			this.btnLast = new System.Windows.Forms.Button();
			this.btnFirst = new System.Windows.Forms.Button();
			this.groupBox1 = new System.Windows.Forms.GroupBox();
			this.textPassword = new System.Windows.Forms.TextBox();
			this.objDataSetUser = new Library.UserInterface.DataSetUser();
			this.textSort = new System.Windows.Forms.TextBox();
			this.label7 = new System.Windows.Forms.Label();
			this.textId = new System.Windows.Forms.TextBox();
			this.label2 = new System.Windows.Forms.Label();
			this.label1 = new System.Windows.Forms.Label();
			this.btnExit = new System.Windows.Forms.Button();
			this.groupBox3 = new System.Windows.Forms.GroupBox();
			this.btnAdd = new System.Windows.Forms.Button();
			this.btnCancel = new System.Windows.Forms.Button();
			this.btnApply = new System.Windows.Forms.Button();
			this.btnModify = new System.Windows.Forms.Button();
			this.sqlConnection1 = new System.Data.SqlClient.SqlConnection();
			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.groupBox1.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.objDataSetUser)).BeginInit();
			this.groupBox3.SuspendLayout();
			this.SuspendLayout();
			// 
			// btnDelete
			// 
			this.btnDelete.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.btnDelete.Location = new System.Drawing.Point(16, 80);
			this.btnDelete.Name = "btnDelete";
			this.btnDelete.Size = new System.Drawing.Size(56, 24);
			this.btnDelete.TabIndex = 28;
			this.btnDelete.Text = "刪除";
			this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
			// 
			// lblDatasetPosition
			// 
			this.lblDatasetPosition.Anchor = System.Windows.Forms.AnchorStyles.Top;
			this.lblDatasetPosition.BackColor = System.Drawing.Color.White;
			this.lblDatasetPosition.Font = new System.Drawing.Font("宋體", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
			this.lblDatasetPosition.Location = new System.Drawing.Point(144, 64);
			this.lblDatasetPosition.Name = "lblDatasetPosition";
			this.lblDatasetPosition.Size = new System.Drawing.Size(48, 24);
			this.lblDatasetPosition.TabIndex = 25;
			this.lblDatasetPosition.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
			// 
			// btnPrevious
			// 
			this.btnPrevious.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.btnPrevious.Image = ((System.Drawing.Image)(resources.GetObject("btnPrevious.Image")));
			this.btnPrevious.Location = new System.Drawing.Point(112, 64);
			this.btnPrevious.Name = "btnPrevious";
			this.btnPrevious.Size = new System.Drawing.Size(32, 24);
			this.btnPrevious.TabIndex = 24;
			this.btnPrevious.Click += new System.EventHandler(this.btnPrevious_Click);
			// 
			// btnNext
			// 
			this.btnNext.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.btnNext.Image = ((System.Drawing.Image)(resources.GetObject("btnNext.Image")));
			this.btnNext.Location = new System.Drawing.Point(192, 64);
			this.btnNext.Name = "btnNext";
			this.btnNext.Size = new System.Drawing.Size(32, 24);
			this.btnNext.TabIndex = 23;
			this.btnNext.Click += new System.EventHandler(this.btnNext_Click);
			// 
			// btnLast
			// 
			this.btnLast.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.btnLast.Image = ((System.Drawing.Image)(resources.GetObject("btnLast.Image")));
			this.btnLast.Location = new System.Drawing.Point(224, 64);
			this.btnLast.Name = "btnLast";
			this.btnLast.Size = new System.Drawing.Size(32, 24);
			this.btnLast.TabIndex = 22;
			this.btnLast.Click += new System.EventHandler(this.btnLast_Click);
			// 
			// btnFirst
			// 
			this.btnFirst.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.btnFirst.Image = ((System.Drawing.Image)(resources.GetObject("btnFirst.Image")));
			this.btnFirst.Location = new System.Drawing.Point(80, 64);
			this.btnFirst.Name = "btnFirst";
			this.btnFirst.Size = new System.Drawing.Size(32, 24);
			this.btnFirst.TabIndex = 21;
			this.btnFirst.Click += new System.EventHandler(this.btnFirst_Click);
			// 
			// groupBox1
			// 
			this.groupBox1.Controls.Add(this.textPassword);
			this.groupBox1.Controls.Add(this.textSort);
			this.groupBox1.Controls.Add(this.label7);
			this.groupBox1.Controls.Add(this.textId);
			this.groupBox1.Controls.Add(this.label2);
			this.groupBox1.Controls.Add(this.label1);
			this.groupBox1.Font = new System.Drawing.Font("宋體", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
			this.groupBox1.Location = new System.Drawing.Point(8, 32);
			this.groupBox1.Name = "groupBox1";
			this.groupBox1.Size = new System.Drawing.Size(256, 176);
			this.groupBox1.TabIndex = 20;
			this.groupBox1.TabStop = false;
			this.groupBox1.Text = "用戶信息維護";
			// 
			// textPassword
			// 
			this.textPassword.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.objDataSetUser, "User.UserPassword"));
			this.textPassword.Location = new System.Drawing.Point(104, 88);
			this.textPassword.Name = "textPassword";
			this.textPassword.Size = new System.Drawing.Size(128, 23);
			this.textPassword.TabIndex = 14;
			this.textPassword.Text = "";
			// 
			// objDataSetUser
			// 
			this.objDataSetUser.DataSetName = "DataSetUser";
			this.objDataSetUser.Locale = new System.Globalization.CultureInfo("zh-CN");
			// 
			// textSort
			// 
			this.textSort.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.objDataSetUser, "User.UserSort"));
			this.textSort.Location = new System.Drawing.Point(104, 120);
			this.textSort.Name = "textSort";
			this.textSort.Size = new System.Drawing.Size(128, 23);
			this.textSort.TabIndex = 13;
			this.textSort.Text = "";
			// 
			// label7
			// 
			this.label7.Location = new System.Drawing.Point(24, 128);
			this.label7.Name = "label7";
			this.label7.Size = new System.Drawing.Size(72, 23);
			this.label7.TabIndex = 12;
			this.label7.Text = "用戶類別";
			// 
			// textId
			// 
			this.textId.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.objDataSetUser, "User.UserID"));
			this.textId.Location = new System.Drawing.Point(104, 56);
			this.textId.Name = "textId";
			this.textId.Size = new System.Drawing.Size(130, 23);
			this.textId.TabIndex = 7;
			this.textId.Text = "";
			// 
			// label2
			// 
			this.label2.Location = new System.Drawing.Point(24, 96);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(72, 23);
			this.label2.TabIndex = 1;
			this.label2.Text = "用戶密碼";
			// 
			// label1
			// 
			this.label1.Location = new System.Drawing.Point(24, 64);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(72, 23);
			this.label1.TabIndex = 0;
			this.label1.Text = "用戶號碼";
			// 
			// btnExit
			// 
			this.btnExit.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.btnExit.Location = new System.Drawing.Point(320, 176);
			this.btnExit.Name = "btnExit";
			this.btnExit.Size = new System.Drawing.Size(72, 32);
			this.btnExit.TabIndex = 27;
			this.btnExit.Text = "退出";
			this.btnExit.Click += new System.EventHandler(this.btnExit_Click);
			// 
			// groupBox3
			// 
			this.groupBox3.Controls.Add(this.btnAdd);
			this.groupBox3.Controls.Add(this.btnCancel);
			this.groupBox3.Controls.Add(this.btnApply);
			this.groupBox3.Controls.Add(this.btnModify);
			this.groupBox3.Controls.Add(this.btnDelete);
			this.groupBox3.Location = new System.Drawing.Point(280, 32);
			this.groupBox3.Name = "groupBox3";
			this.groupBox3.Size = new System.Drawing.Size(144, 120);
			this.groupBox3.TabIndex = 29;
			this.groupBox3.TabStop = false;
			this.groupBox3.Text = "編輯記錄";
			// 
			// btnAdd
			// 
			this.btnAdd.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.btnAdd.Location = new System.Drawing.Point(16, 16);
			this.btnAdd.Name = "btnAdd";
			this.btnAdd.Size = new System.Drawing.Size(56, 24);
			this.btnAdd.TabIndex = 13;
			this.btnAdd.Text = "添加";
			this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
			// 
			// btnCancel
			// 
			this.btnCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.btnCancel.Location = new System.Drawing.Point(80, 72);
			this.btnCancel.Name = "btnCancel";
			this.btnCancel.Size = new System.Drawing.Size(56, 24);
			this.btnCancel.TabIndex = 11;
			this.btnCancel.Text = "取消";
			this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
			// 
			// btnApply
			// 
			this.btnApply.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.btnApply.Location = new System.Drawing.Point(80, 24);
			this.btnApply.Name = "btnApply";
			this.btnApply.Size = new System.Drawing.Size(56, 24);
			this.btnApply.TabIndex = 12;
			this.btnApply.Text = "確定";
			this.btnApply.Click += new System.EventHandler(this.btnApply_Click);
			// 
			// btnModify
			// 
			this.btnModify.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.btnModify.Location = new System.Drawing.Point(16, 48);
			this.btnModify.Name = "btnModify";
			this.btnModify.Size = new System.Drawing.Size(56, 24);
			this.btnModify.TabIndex = 15;
			this.btnModify.Text = "修改";
			this.btnModify.Click += new System.EventHandler(this.btnModify_Click);
			// 
			// sqlConnection1
			// 
			this.sqlConnection1.ConnectionString = "workstation id=localhost;packet size=4096;integrated security=SSPI;data source=lo" +
				"calhost;persist security info=False;initial catalog=BookManager";
			// 
			// 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", "User", new System.Data.Common.DataColumnMapping[] {
																																																			  new System.Data.Common.DataColumnMapping("UserID", "UserID"),
																																																			  new System.Data.Common.DataColumnMapping("UserPassword", "UserPassword"),
																																																			  new System.Data.Common.DataColumnMapping("UserSort", "UserSort")})});
			this.sqlDataAdapter1.UpdateCommand = this.sqlUpdateCommand1;
			// 
			// sqlDeleteCommand1
			// 
			this.sqlDeleteCommand1.CommandText = "DELETE FROM [User] WHERE (UserID = @Original_UserID) AND (UserPassword = @Origina" +
				"l_UserPassword OR @Original_UserPassword IS NULL AND UserPassword IS NULL) AND (" +
				"UserSort = @Original_UserSort OR @Original_UserSort IS NULL AND UserSort IS NULL" +
				")";
			this.sqlDeleteCommand1.Connection = this.sqlConnection1;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品免费视频一区二区| 色婷婷综合在线| 日韩电影在线一区| 一区二区在线观看视频| 1000精品久久久久久久久| 亚洲国产成人自拍| 中文字幕一区二区不卡| 日韩理论电影院| 亚洲精品视频观看| 亚洲国产精品欧美一二99| 亚洲电影在线播放| 亚洲国产美女搞黄色| 日韩av电影一区| 国产精品123| 99视频精品在线| 在线观看日韩国产| 欧美一区二区三区在线观看| 日韩午夜电影av| 欧美第一区第二区| 国产蜜臀av在线一区二区三区| 欧美国产精品久久| 樱桃视频在线观看一区| 日本aⅴ亚洲精品中文乱码| 久草中文综合在线| 91蝌蚪国产九色| 91精品国产综合久久福利软件| 欧美精品一区二区三区高清aⅴ| 中文字幕精品一区| 亚洲一区日韩精品中文字幕| 美腿丝袜在线亚洲一区| 国产福利不卡视频| 欧美在线|欧美| 久久久久久久久蜜桃| 自拍偷拍国产精品| 久久福利资源站| av亚洲精华国产精华| 在线播放欧美女士性生活| 国产三级精品视频| 日韩福利电影在线观看| 成人网页在线观看| 日韩一区二区三区在线| 亚洲免费色视频| 国产一区二区91| 欧美精品v国产精品v日韩精品| 日本一区二区高清| 日本中文一区二区三区| 91麻豆免费在线观看| 精品欧美久久久| 亚洲www啪成人一区二区麻豆| 岛国av在线一区| 欧美岛国在线观看| 首页综合国产亚洲丝袜| 91日韩精品一区| 国产日韩欧美在线一区| 免费在线观看一区| 欧美三级在线视频| 亚洲欧洲成人av每日更新| 毛片基地黄久久久久久天堂| 日本电影欧美片| 久久久不卡网国产精品二区 | 亚洲视频免费观看| 国内精品视频666| 3d动漫精品啪啪1区2区免费 | 欧美亚洲国产一区二区三区| 国产欧美日韩在线观看| 久久er99精品| 精品剧情在线观看| 天天操天天色综合| 欧美精品一级二级三级| 亚洲三级电影网站| caoporn国产精品| 中文字幕制服丝袜成人av| 成人性生交大片| 国产精品视频第一区| 国产成人高清视频| 国产午夜一区二区三区| 国产在线观看一区二区| 精品国产乱码久久久久久闺蜜| 日本欧美肥老太交大片| 欧美日韩免费在线视频| 亚洲国产一区二区在线播放| 欧美日韩免费不卡视频一区二区三区 | 成人av电影在线网| 国产精品视频麻豆| 99久久精品99国产精品| 亚洲精品乱码久久久久久黑人 | 精品一区二区国语对白| 久久蜜臀中文字幕| www.欧美精品一二区| 国产欧美一区二区精品性| 国产1区2区3区精品美女| 国产日产精品1区| 波多野结衣中文字幕一区| 国产精品不卡一区二区三区| 91久久精品一区二区二区| 亚洲一区在线免费观看| 欧美伦理电影网| 蜜桃视频一区二区| 欧美激情一区在线| 欧美在线影院一区二区| 日韩av电影天堂| 久久综合色婷婷| 91香蕉视频在线| 日本不卡高清视频| 亚洲国产精华液网站w | 久久精品99久久久| 国产日韩欧美麻豆| 欧美在线一区二区| 国产九九视频一区二区三区| 亚洲天堂中文字幕| 欧美一区二区在线视频| 国产精品一二一区| 亚洲国产一区二区三区 | 99re成人精品视频| 日本色综合中文字幕| 国产精品三级视频| 欧美精品tushy高清| 国产成人一区二区精品非洲| 亚洲一区二区三区四区的 | 国产精品不卡视频| 欧美一级黄色录像| 99久久国产综合色|国产精品| 青草国产精品久久久久久| 18涩涩午夜精品.www| 日韩欧美亚洲另类制服综合在线| 91最新地址在线播放| 久久精品国产一区二区| 亚洲欧洲中文日韩久久av乱码| 日韩免费看的电影| 欧美军同video69gay| 99麻豆久久久国产精品免费| 国内一区二区视频| 舔着乳尖日韩一区| 亚洲精品一二三| 久久综合久久综合九色| 在线看日本不卡| 不卡视频一二三| 国产一区久久久| 日本不卡中文字幕| 亚洲精品国产成人久久av盗摄| 久久久噜噜噜久噜久久综合| 在线播放国产精品二区一二区四区 | 欧美激情一区在线| 日韩美女一区二区三区四区| 欧美日韩你懂得| 色婷婷久久久综合中文字幕| 国产91精品露脸国语对白| 国精品**一区二区三区在线蜜桃 | 777亚洲妇女| 欧美视频完全免费看| 91麻豆国产在线观看| 99久久精品99国产精品| 97久久精品人人做人人爽50路| 成人黄色片在线观看| 国产91精品在线观看| 国产乱码精品一品二品| 国产黄色精品网站| 国产乱码精品1区2区3区| 国产美女精品在线| 国产一区二区三区四| 国产综合色产在线精品| 国产一区二区三区日韩| 丁香婷婷综合网| 99久久国产综合精品女不卡| 91日韩一区二区三区| 91黄色小视频| 欧美日韩精品一区二区| 欧美伦理影视网| 精品国产3级a| 国产精品的网站| 亚洲成人黄色影院| 日本不卡中文字幕| 国产suv一区二区三区88区| 成人免费va视频| 欧美偷拍一区二区| 日韩一区二区三| 久久久久99精品国产片| 国产精品理伦片| 亚洲二区在线视频| 国产一区二区不卡| av亚洲精华国产精华| 欧美日韩成人综合在线一区二区 | 国产一区二区三区四区五区美女| 成人一级黄色片| 色婷婷亚洲精品| 日韩女优毛片在线| 国产精品视频一二三区| 日韩av不卡在线观看| 国产一区二区三区免费在线观看 | 欧美日本国产一区| 26uuu久久天堂性欧美| 国产精品久久久久久久久动漫| 亚洲一区二区三区小说| 老司机一区二区| 91色porny| 久久久久国产精品厨房| 天天影视网天天综合色在线播放| 国产jizzjizz一区二区| 欧美日韩一级二级| 国产精品国产a|