D
dev100
Hi, i have created a sqlce 3.5 database in vs2008 for cf 2.0 app which has
a single table
Product:
id bigint 8
no bigint 8
prodname nvarchar 100
instock bit
no2 bigint
no3 bigint
Ive used the graphical tools in vs2008 to create a tableadapter with
dbdirect methods.
I then call insert as follows in my C# code in a unit test
ProductTableAdapter ta = new ProductTableAdapter ();
ProductTA.Insert(0, 0, "MyProduct", false, 0, 0);
However the insert throws an exception
Unspecified error [ \\Program Files\\SmartDeviceTest\\Out\\testdb.sdf
Is this something to do with not being able to locate the database? I have
copied the database
to the unit test directory on the device but makes no difference. Im not
sure what the error means.
__________ Information from ESET Smart Security, version of virus signature database 4109 (20090527) __________
The message was checked by ESET Smart Security.
http://www.eset.com
a single table
Product:
id bigint 8
no bigint 8
prodname nvarchar 100
instock bit
no2 bigint
no3 bigint
Ive used the graphical tools in vs2008 to create a tableadapter with
dbdirect methods.
I then call insert as follows in my C# code in a unit test
ProductTableAdapter ta = new ProductTableAdapter ();
ProductTA.Insert(0, 0, "MyProduct", false, 0, 0);
However the insert throws an exception
Unspecified error [ \\Program Files\\SmartDeviceTest\\Out\\testdb.sdf
Is this something to do with not being able to locate the database? I have
copied the database
to the unit test directory on the device but makes no difference. Im not
sure what the error means.
__________ Information from ESET Smart Security, version of virus signature database 4109 (20090527) __________
The message was checked by ESET Smart Security.
http://www.eset.com