Search results for query: *

  • Users: Odin
  • Order by date
  1. O

    Question Deserializing Data Back To A Dataset But Data Is Not Persisted To DB

    Ok, thanks for the info. I will give XmlSerializer a try.
  2. O

    Question Deserializing Data Back To A Dataset But Data Is Not Persisted To DB

    Hi John, I am working on a project that uses LINQ to SQL and need to do the same backing up to an xml file concept as I did with the dataset method. Should I use the dataset.xmlwrite process again or is there a more elegant way using LINQ to SQL. So far, I have not been able to find one. Paul
  3. O

    Question Deserializing Data Back To A Dataset But Data Is Not Persisted To DB

    Solved!!!! Problem Solved!! Using dataset.writexml solved the problem because the method I was using exported the schema and the data, whereas dataset.writexml exported just the data. I still don't understand why I didn't get an error of some kind when I tried to import the data back in...
  4. O

    Question Deserializing Data Back To A Dataset But Data Is Not Persisted To DB

    John, I have really simplified things to help diagnose my issue. I implemented your suggestion of using dataset.readxml and it worked nicely in getting the data back in to the dataset. I can scroll through all 103 movies (3 test ones that I have had through this whole issue plus the 100 I...
  5. O

    Question Deserializing Data Back To A Dataset But Data Is Not Persisted To DB

    Hi John and thanks for looking at this for me. The Save DB line is in the serialization code. I save the db to make sure that all changes are in the DB and then I serialize it. In the original post, I now have added jpegs of the code that are much more readable.
  6. O

    Question Deserializing Data Back To A Dataset But Data Is Not Persisted To DB

    I don't know why the code didn't stay formatted. It was formatted correctly when I pasted it (each of the 4 times I tried) but as soon as I pressed Save, the formatting disappeared. i am working in the WYSIWYG mode and put the code between Xcode tags. I was working in Chrome but for this post, I...
  7. O

    Question Deserializing Data Back To A Dataset But Data Is Not Persisted To DB

    Hello All, I have a situation where I serialize data from a dataset to an xml file as a method of backup. I am trying to get the data deserialized back to the dataset. But for some reason, I cannot get the data to persist back to the DB. I don't receive any error messages either. The first...
Back
Top