Hello,
I am doing development for a windows mobile device using Visual Basic 2005.
The customer want to be able to download the data from the main database and be able to work off-line.
So I have decided that all the data that is download will be written to a xml file that can be read by a dataset. Also use the dataset to write changes.
When the user goes online the changes they have made to the off-line xml file will need to update the SQL database, I will use the getChanges of the dataset to sync with the central database (SQL Server 2005)
However, the user will be using a wireless and I will need a condition in my code that will detect if the wireless gets disconnected so that they can use the off-line data in the xml file that can be read in by the dataset.
I am not sure how I would detect the wireless being disconnected, as this will disconnect from the sql server database?
Any advice would be most helpfull,
Many thanks,
Steve
I am doing development for a windows mobile device using Visual Basic 2005.
The customer want to be able to download the data from the main database and be able to work off-line.
So I have decided that all the data that is download will be written to a xml file that can be read by a dataset. Also use the dataset to write changes.
When the user goes online the changes they have made to the off-line xml file will need to update the SQL database, I will use the getChanges of the dataset to sync with the central database (SQL Server 2005)
However, the user will be using a wireless and I will need a condition in my code that will detect if the wireless gets disconnected so that they can use the off-line data in the xml file that can be read in by the dataset.
I am not sure how I would detect the wireless being disconnected, as this will disconnect from the sql server database?
Any advice would be most helpfull,
Many thanks,
Steve