Inheritance: BasicMLDataSet
Exemplo n.º 1
0
        public void SQLDataSet()
        {
            int bits = IntPtr.Size * 8;

            // no JET db on 64-bit
            if (bits < 64)
            {
                var data = new SQLMLDataSet(
                    "SELECT in1,in2,ideal1 FROM xor ORDER BY id",
                    2, 1, "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=..\\..\\..\\encog.mdb; User Id=admin; Password=");

                XOR.TestXORDataSet(data);
            }
        }
        public void SQLDataSet()
        {
            int bits = IntPtr.Size*8;

            // no JET db on 64-bit
            if (bits < 64)
            {
                var data = new SQLMLDataSet(
                    "SELECT in1,in2,ideal1 FROM xor ORDER BY id",
                    2, 1, "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=..\\..\\..\\encog.mdb; User Id=admin; Password=");

                XOR.TestXORDataSet(data);
            }
        }