i have a reference to System.Data which refer to C:\Programme\Microsoft.NET\SDK\CompactFramework\v2.0\WindowsCE\System.Data.dll
Code: Select all
using System.Windows.Forms;
using System.Data;
using Devart.Common;
using Devart.Data;
using Devart.Data.Oracle;
namespace PalettenKontrolle
{
public partial class frmPalCheck : Form
{
private Devart.Data.Oracle.OracleConnection oraCon;
public frmPalCheck()
{
InitializeComponent();
oraCon = new OracleConnection();
oraCon.Sid = "db_sid";
oraCon.Port = 1521;
oraCon.Server = "server";
oraCon.UserId = "user_id";
oraCon.UserId = "user_pw";
}
private void frmPalCheck_KeyDown(object sender, KeyEventArgs e)
{
switch (e.KeyValue)
{
case 112:
this.Close();
break;
case 113:
this.Close();
break;
}
}
}
}
All references are set correctly...
It's not my first project for WinCE, but the first using devart components...
btw: System.Data.DataSet dsTest = new DataSet(); works while commenting all devArt references !!! ???