SqlDataSource.Update(); is not updating. RRS feed

  • Question

  • User1064676031 posted

    So sorry... By the time it came through, I had just figured out the answer.

    I just edited it to get rid of the excess code.  The moral of the story is this:  When dealing with dates, watch out whether they are in dd/mm/yyyy  OR mm/dd/yyyy.  Basically the reason that it was not updating is this:  I told it to modify the dd/mm/yyyy  while it was thinking in the format mm/dd/yyyy.  If you have a similar problem, check it this out!



    Thursday, October 23, 2008 2:11 PM


  • User26357911 posted

    Something to add to that thought:  run a profiler when posting to the database.  It is a great way to see what is actually getting sent to the dbms, which you can then take and tweak in your database tool. 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, October 23, 2008 7:03 PM