Fortunately “offline web applications” continue to work for users regardless of Internet connection status to the client.The availability is possible by the new HTML Offline Web Application API ( also known as HTML Application Cache.It really kills me, i'm stocked about few hours finding solution in the web.
What I just read is how to get data from the database.
The method below that updates the database is called Update Hold().
Having checked my connection string to ensure I was connecting to the right database, and also checking that I was viewing the same database in SQL Server management studio when checking the value, some research was in order.
Turns out the LINQ2SQL class was missing the primary key (even though the SQL table had one set).
Craig Shoemaker is a software developer, podcaster, blogger and Director of Technical Content for Infragistics.
As host of the Polymorphic Podcast, Craig does what he loves most - make contributions to the community and draw the best out of industry luminaries. NET MVP, ASP Insider and guest speaker at various developer user groups and tradeshows.A website that is not configured to operate in a disconnected state is unavailable in any form if an Internet connection is not available.For instance, Figure 1 demonstrates the type of response you may encounter while trying to view working without an Internet connection.I'm believe that assigning the id doesn't actually populate the associated entity that's being checked and Submit Changes is only propagating the data back to the DB, not actually updating the table element with the data for the associated entity.I can't update the database but when im debuging it, production is updated and created records in context.You can, however, add the inserted object to the company's data compliances collection, then do the update and it will be what you expect.