c# - Retrieve multiple results set -


I have a problem when I disable data from multiple result sets, I update the data and save it And it is updated in SQL but when I will retrieve it again which will bring up the old data I can do?

You do not give many clues how you're doing it, and how you're saving (which is important It is possible). However, here's a common mix using a local database file that is part of your project. If the project says "always copy", then every time you make it, the database is rewritten from the untouched state.

If this is not a problem - are you likely to open a transaction?

(edit) Now we have established that you are using LINQ-to-SQL; Are you calling SubmitChanges () ? It will also help to know whether you are using a data-context, multiple data-references or what? Data-context will only track changes in those items that were made.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -