I have a PPC application that when I run it and click the Insert button it fills my dataset but does not update the table in my SQL Mobile sdk DB. I am new to programming Mobile Devices so please excuse this newbe question. Here is the code for my insert button. I have been told that I have to attach the sdk DB to the Emulator but I can't find anywhere how to do this. If this is the wrong forum please redirect. Thank you.
Dim
SalesmanNum As Integer = 9999 Dim CustomerNum As Integer = 733733 Dim POHeader As String = "abcxyz"Try Me.POHeaderTableAdapter.Insert(SalesmanNum, CustomerNum, POHeader) Catch ex As Exception
MessageBox.Show(
"Insert failed") End TryRefreshDataSet()
End SubPrivate Sub RefreshDataSet() Me.POHeaderTableAdapter.Fill(Me.SHMobileDataSet.POHeader) Me.POHeaderTableAdapter.Update(Me.SHMobileDataSet.POHeader) End Sub