G
Guest
Hello I am new to C# compact framework. I have been working on a WinMobile
app that everything seems to work correctly, I get no errors. But..... While
debugging in the PocketPC WM 5.0 when I insert a new record or edit an
existing record (created in database designer)the changes are never actually
saved. Here's an example.
Form1 --Buttons that take me to the data grid form
Form 2 --Data Grid form
Form 3 -- Data Edit View form
If I click the new button on form2 it inserts a new record and takes me to
the Data Edit form. Here I edit any data I choose, then click the OK button,
which returns me to the Data Grid form. After returning to the grid form all
the data is present, I can even tap the grid and re edit the data I just
entered.
But if I open the query analyzer on the emulator and open the table and
click Refresh the table does not show the new records I just inserted or
edited. All editing and inserting is done by the forms that VS2005 created
for me by clicking the arrow on top of the grid in design mode and selecting
generate data forms. If I close form2 but not the entire application my new
data also disapears. Is this just because I am debugging?
Any help would be gratly appreciated.
Jon Stroh
app that everything seems to work correctly, I get no errors. But..... While
debugging in the PocketPC WM 5.0 when I insert a new record or edit an
existing record (created in database designer)the changes are never actually
saved. Here's an example.
Form1 --Buttons that take me to the data grid form
Form 2 --Data Grid form
Form 3 -- Data Edit View form
If I click the new button on form2 it inserts a new record and takes me to
the Data Edit form. Here I edit any data I choose, then click the OK button,
which returns me to the Data Grid form. After returning to the grid form all
the data is present, I can even tap the grid and re edit the data I just
entered.
But if I open the query analyzer on the emulator and open the table and
click Refresh the table does not show the new records I just inserted or
edited. All editing and inserting is done by the forms that VS2005 created
for me by clicking the arrow on top of the grid in design mode and selecting
generate data forms. If I close form2 but not the entire application my new
data also disapears. Is this just because I am debugging?
Any help would be gratly appreciated.
Jon Stroh