通过c#连结oracle数据库(四)

原创 2001年10月15日 09:03:00

{ <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

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.label4 = new System.Windows.Forms.Label();

this.BtnExit = new System.Windows.Forms.Button();

this.label1 = new System.Windows.Forms.Label();

this.label2 = new System.Windows.Forms.Label();

this.label3 = new System.Windows.Forms.Label();

this.BtnEdit = new System.Windows.Forms.Button();

this.BtnSave = new System.Windows.Forms.Button();

this.BtnDelete = new System.Windows.Forms.Button();

this.TxtESal = new System.Windows.Forms.TextBox();

this.TxtEmpNo = new System.Windows.Forms.TextBox();

this.TxtEName = new System.Windows.Forms.TextBox();

this.BtnAddNew = new System.Windows.Forms.Button();

this.TxtDeptNo = new System.Windows.Forms.TextBox();

this.SuspendLayout();

//

// label4

//

this.label4.AutoSize = true;

this.label4.Location = new System.Drawing.Point(104, 160);

this.label4.Name = "label4";

this.label4.Size = new System.Drawing.Size(59, 14);

this.label4.TabIndex = 3;

this.label4.Text = "Dept No :";

//

// BtnExit

//

this.BtnExit.Location = new System.Drawing.Point(280, 256);

this.BtnExit.Name = "BtnExit";

this.BtnExit.Size = new System.Drawing.Size(90, 32);

this.BtnExit.TabIndex = 12;

this.BtnExit.Text = "E&xit";

this.BtnExit.Click += new System.EventHandler(this.BtnExit_Click);

//

// label1

//

this.label1.AutoSize = true;

this.label1.Location = new System.Drawing.Point(104, 64);

this.label1.Name = "label1";

this.label1.Size = new System.Drawing.Size(58, 14);

this.label1.TabIndex = 0;

this.label1.Text = "Emp No :";

//

// label2

//

this.label2.AutoSize = true;

this.label2.Location = new System.Drawing.Point(104, 96);

this.label2.Name = "label2";

this.label2.Size = new System.Drawing.Size(75, 14);

this.label2.TabIndex = 1;

this.label2.Text = "Emp Name :";

//

// label3

//

this.label3.AutoSize = true;

this.label3.Location = new System.Drawing.Point(104, 128);

this.label3.Name = "label3";

this.label3.Size = new System.Drawing.Size(78, 14);

this.label3.TabIndex = 2;

this.label3.Text = "Emp Salary :";

//

// BtnEdit

//

this.BtnEdit.Location = new System.Drawing.Point(328, 208);

this.BtnEdit.Name = "BtnEdit";

this.BtnEdit.Size = new System.Drawing.Size(90, 32);

this.BtnEdit.TabIndex = 10;

this.BtnEdit.Text = "Edit";

this.BtnEdit.Click += new System.EventHandler(this.BtnEdit_Click);

//

// BtnSave

//

this.BtnSave.Location = new System.Drawing.Point(224, 208);

this.BtnSave.Name = "BtnSave";

this.BtnSave.Size = new System.Drawing.Size(90, 32);

this.BtnSave.TabIndex = 9;

this.BtnSave.Text = "Save";

this.BtnSave.Click += new System.EventHandler(this.BtnSave_Click);

//

// BtnDelete

//

this.BtnDelete.Location = new System.Drawing.Point(168, 256);

this.BtnDelete.Name = "BtnDelete";

this.BtnDelete.Size = new System.Drawing.Size(90, 32);

this.BtnDelete.TabIndex = 11;

this.BtnDelete.Text = "Delete";

this.BtnDelete.Click += new System.EventHandler(this.BtnDelete_Click);

//

// TxtESal

//

this.TxtESal.Location = new System.Drawing.Point(192, 128);

this.TxtESal.Name = "TxtESal";

this.TxtESal.Size = new System.Drawing.Size(112, 21);

this.TxtESal.TabIndex = 6;

this.TxtESal.Text = "";

//

// TxtEmpNo

//

this.TxtEmpNo.Location = new System.Drawing.Point(192, 64);

this.TxtEmpNo.Name = "TxtEmpNo";

this.TxtEmpNo.Size = new System.Drawing.Size(112, 21);

this.TxtEmpNo.TabIndex = 4;

this.TxtEmpNo.Text = "";

//

// TxtEName

//

this.TxtEName.Location = new System.Drawing.Point(192, 96);

this.TxtEName.Name = "TxtEName";

this.TxtEName.Size = new System.Drawing.Size(200, 21);

this.TxtEName.TabIndex = 5;

this.TxtEName.Text = "";

//

// BtnAddNew

//

this.BtnAddNew.Location = new System.Drawing.Point(120, 208);

this.BtnAddNew.Name = "BtnAddNew";

this.BtnAddNew.Size = new System.Drawing.Size(90, 32);

this.BtnAddNew.TabIndex = 8;

this.BtnAddNew.Text = "&Add New";

this.BtnAddNew.Click += new System.EventHandler(this.BtnAddNew_Click);

//

// TxtDeptNo

//

this.TxtDeptNo.Location = new System.Drawing.Point(192, 160);

this.TxtDeptNo.Name = "TxtDeptNo";

this.TxtDeptNo.Size = new System.Drawing.Size(112, 21);

this.TxtDeptNo.TabIndex = 7;

this.TxtDeptNo.Text = "";

//

// FrmEmp

//

this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);

this.ClientSize = new System.Drawing.Size(576, 317);

this.Controls.AddRange(new System.Windows.Forms.Control[] {

this.BtnExit,

this.BtnDelete,

this.BtnEdit,

this.BtnSave,

this.BtnAddNew,

this.TxtDeptNo,

this.TxtESal,

this.TxtEName,

this.TxtEmpNo,

this.label4,

this.label3,

this.label2,

this.label1});

this.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));

this.Name = "FrmEmp";

this.Text = "Employee Data Form";

this.Load += new System.EventHandler(this.FrmEmp_Load);

this.ResumeLayout(false);

}

#endregion

/// <summary>

/// The main entry point for the application.

/// </summary>

[STAThread]

static void <?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" />Main()

{

通过c#连结oracle数据库(一)

所用的工具:vs.net beta2 ,orcale8 步骤:     1 在数据库中建一个Emp表,然后在其中加入EmpNo, EName, Sal, DeptNo四个字段。     2 打开vs....
  • willsound
  • willsound
  • 2001年10月15日 09:01
  • 592

通过c#连结oracle数据库(五)

Application.Run(new FrmEmp()); } private void FrmEmp_Load(object sender, System.EventArgs e) { } pri...
  • willsound
  • willsound
  • 2001年10月15日 09:04
  • 714

通过c#连结oracle数据库(二)

/// private void InitializeComponent() { this.label4 = new System.Windows.Forms.Label(); this.BtnEx...
  • willsound
  • willsound
  • 2001年10月15日 09:02
  • 577

通过c#连结oracle数据库(三)

// this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Siz...
  • willsound
  • willsound
  • 2001年10月15日 09:03
  • 701

用C#连结ORACLE数据库

 Standard   security:         "Provider=msdaora;Data   Source=MyOracleDB;User   Id=UserName;Password...
  • justin_hua
  • justin_hua
  • 2008年01月04日 16:05
  • 385

Oracle学习笔记(四)——上机练习一

1、define命令可以用于定义哪种变量 a、number b、char c、varchar2 d、date 【b】 Host变量主要作用是起到一个替代变量的作用,是主机环境可以和...
  • shangqing1123
  • shangqing1123
  • 2016年04月06日 20:55
  • 609

c# 平面四参数转换

来源:http://cruelchen.blog.163.com/blog/static/7869184420105100348910/ c# 平面四参数转换   关于平面四参...
  • hsg77
  • hsg77
  • 2012年04月14日 18:59
  • 2143

C# 连结access

using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security...
  • evan02
  • evan02
  • 2010年03月04日 15:38
  • 217

Excel导入Oracle数据库C#winform完整代码

将execl中的数据导入到数据库中 思路: 先将 execl中的数据 动态的添加到dataset 中 再用for将datarow的对象插入到数据库中! 当然为了 防止出错要用事务!   ...
  • qq_27317147
  • qq_27317147
  • 2016年07月21日 15:59
  • 1153

C#连接Oracle数据库的一种方法(详细过程)

1. 需要添加一个System.Data.OracleClient引用,这个文件一般在C:\Program Files (x86)\Reference Assemblies\Microsoft\Fra...
  • u013797023
  • u013797023
  • 2017年11月11日 20:28
  • 417
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:通过c#连结oracle数据库(四)
举报原因:
原因补充:

(最多只允许输入30个字)