Using VS2005, Framework 2 and SQL 2005 Mobile all from the recent launch in Australia, I have created a new Smartdevice project in c# and have created an SQL mobile database with 1 table in it.
I added a datasource/dataset referencing the mobile database and it displayed the table/columns etc in the Data Sources Pane.
I changed the table type to details, then dragged the table onto a blank form.
VS created the form well and all looked OK
When I deployed it to the Pocket PC 2003 SE emulator it built and started fine
But, when i clicked the menu item to open the database form i created, the line
int returnValue = this.Adapter.Fill(dataTable);
comes up with the error "InvalidProgramException was unhandled" and the thread terminates.
There are no more details in the error than that
Has anyone seen this before or have a solution?
Thanks in advance
Grant
This seems to have been an install issue, installing VS 2005 on another machine and doing the same thing did not result in the error
CHEERS
GRANT
No comments:
Post a Comment