⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 form1.cs

📁 masterdetail program about C#
💻 CS
📖 第 1 页 / 共 5 页
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;

namespace MasterDetailReport
{
	/// <summary>
	/// Summary description for Form1.
	/// </summary>
	public class fListe : System.Windows.Forms.Form
	{
		private System.Windows.Forms.Button button1;
		private System.Windows.Forms.Label label1;
		private System.Data.OleDb.OleDbCommand oleDbSelectCommand1;
		private System.Data.OleDb.OleDbCommand oleDbInsertCommand1;
		private System.Data.OleDb.OleDbCommand oleDbUpdateCommand1;
		private System.Data.OleDb.OleDbCommand oleDbDeleteCommand1;
		public System.Data.OleDb.OleDbDataAdapter daKimlik;
		private System.Windows.Forms.DataGridTableStyle dgs;
		private System.Windows.Forms.DataGridTextBoxColumn cNumara;
		private System.Windows.Forms.DataGridTextBoxColumn cAd;
		private System.Windows.Forms.DataGridTextBoxColumn cSoyad;
		private System.Windows.Forms.Button button2;
		private System.Windows.Forms.Button button3;
		public System.Windows.Forms.ImageList iButton;
		private System.Windows.Forms.TextBox tbNumara;
		public MasterDetailReport.dsKimlik dsKimlik;
		private System.Windows.Forms.DataGrid dgListe;
		private System.Windows.Forms.Button button4;
		public System.Data.OleDb.OleDbDataAdapter daDersler;
		private System.Data.OleDb.OleDbCommand oleDbCommand1;
		private System.Data.OleDb.OleDbCommand oleDbCommand2;
		private System.Data.OleDb.OleDbCommand oleDbCommand3;
		private System.Data.OleDb.OleDbCommand oleDbCommand4;
		public System.Data.OleDb.OleDbConnection cListe;
		private System.Windows.Forms.Button button5;
		private System.Windows.Forms.Button button6;
		private System.ComponentModel.IContainer components;

		public fListe()
		{
			//
			// Required for Windows Form Designer support
			//
			InitializeComponent();

			//
			// TODO: Add any constructor code after InitializeComponent call
			//
		}

		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if (components != null) 
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}

		#region Windows Form Designer generated code
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.components = new System.ComponentModel.Container();
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(fListe));
			this.cListe = new System.Data.OleDb.OleDbConnection();
			this.button1 = new System.Windows.Forms.Button();
			this.iButton = new System.Windows.Forms.ImageList(this.components);
			this.tbNumara = new System.Windows.Forms.TextBox();
			this.label1 = new System.Windows.Forms.Label();
			this.dgListe = new System.Windows.Forms.DataGrid();
			this.dsKimlik = new MasterDetailReport.dsKimlik();
			this.dgs = new System.Windows.Forms.DataGridTableStyle();
			this.cNumara = new System.Windows.Forms.DataGridTextBoxColumn();
			this.cAd = new System.Windows.Forms.DataGridTextBoxColumn();
			this.cSoyad = new System.Windows.Forms.DataGridTextBoxColumn();
			this.oleDbSelectCommand1 = new System.Data.OleDb.OleDbCommand();
			this.oleDbInsertCommand1 = new System.Data.OleDb.OleDbCommand();
			this.oleDbUpdateCommand1 = new System.Data.OleDb.OleDbCommand();
			this.oleDbDeleteCommand1 = new System.Data.OleDb.OleDbCommand();
			this.daKimlik = new System.Data.OleDb.OleDbDataAdapter();
			this.button2 = new System.Windows.Forms.Button();
			this.button3 = new System.Windows.Forms.Button();
			this.button4 = new System.Windows.Forms.Button();
			this.daDersler = new System.Data.OleDb.OleDbDataAdapter();
			this.oleDbCommand1 = new System.Data.OleDb.OleDbCommand();
			this.oleDbCommand2 = new System.Data.OleDb.OleDbCommand();
			this.oleDbCommand3 = new System.Data.OleDb.OleDbCommand();
			this.oleDbCommand4 = new System.Data.OleDb.OleDbCommand();
			this.button5 = new System.Windows.Forms.Button();
			this.button6 = new System.Windows.Forms.Button();
			((System.ComponentModel.ISupportInitialize)(this.dgListe)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.dsKimlik)).BeginInit();
			this.SuspendLayout();
			// 
			// cListe
			// 
			this.cListe.ConnectionString = @"Jet OLEDB:Global Partial Bulk Ops=2;Jet OLEDB:Registry Path=;Jet OLEDB:Database Locking Mode=1;Data Source=""D:\M_Ali\Dersler\Hazirlananlar\ProgramlamaDilleri\Db\MasterDetail\ogrenci.mdb"";Mode=Share Deny None;Jet OLEDB:Engine Type=5;Provider=""Microsoft.Jet.OLEDB.4.0"";Jet OLEDB:System database=;Jet OLEDB:SFP=False;persist security info=False;Extended Properties=;Jet OLEDB:Compact Without Replica Repair=False;Jet OLEDB:Encrypt Database=False;Jet OLEDB:Create System Database=False;Jet OLEDB:Don't Copy Locale on Compact=False;User ID=Admin;Jet OLEDB:Global Bulk Transactions=1";

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -