• 0

C# Can't modify data row column data during AdapterUpdating event?


Question

As the title says, when I modify data rows during the adapter updating row event, it doesn't save my changes. Doesn't that defeat the purpose of the updating event? I want to check to make sure columns are being set right (data comes in via stream so I can't control it via client) when the adapter is being called. It seems like there is something I'm missing. I've tried setting ad.AcceptChangesDuringUpdate = true; and still no avail. Hopefully someone can point out if it's not possible by design? Can't find any documentation on this via google. Only examples show data being recorded with text files on Microsoft's web site. If I have to there are work arounds I already have thought of that I can implement but it would be a shame because that plumbing is already there (just not working the way I need it to ><).

1 answer to this question

Recommended Posts

This topic is now closed to further replies.
  • Posts

    • It comes just weeks after the Black Sabbath star took to the stage one final time with his band mates at Villa Park in Birmingham. He died "surrounded by love", a statement from his family said on Tuesday night. The family said: "It is with more sadness than mere words can convey that we have to report that our beloved Ozzy Osbourne has passed away this morning. "He was with his family and surrounded by love. We ask everyone to respect our family privacy at this time. "Sharon, Jack, Kelly, Aimee and Louis."     https://www.thesun.co.uk/tvandshowbiz/23619758/ozzy-osbourne-dead-black-sabbath-parkinsons/
    • I hard disagree on Edge being great. I actually spent a lot of time on Internet Explorer, even in the days when IE was basically a dead system and most had already switched to Chrome. I kept using IE because I was basically a Microsoft-fan-boy back then. When I first started using Windows 10, I of course started using Edge. Some things were a lot more responsive, but it had so many issues it basically was unusable. I think it's a pretty big condemnation when someone who was fine using IE11 says that Edge is what finally drove me to start using Chrome. Yes, Edge did get better over its few years before it was replaced, but it had already failed in the minds of most users.
    • EA will unveil Battlefield 6 this week, the 'ultimate all-out warfare experience' by Pulasthi Ariyasinghe The Battlefield franchise is finally returning, and its first trailer is only a couple of days away. Following months of teasers, closed testing sessions, and leaks, an announcement went out today via official channels that confirmed the highly anticipated game's name will be Battlefield 6 and that the reveal is happening this Thursday, July 24. This is set to be the 13th game in the franchise, arriving four years after the launch of Battlefield 2042. "BATTLEFIELD 6. July 24. Reveal Trailer," said the simple announcement today across Battlefield social media. Attached to it was a simple 2D-animated teaser with four modern-age soldiers (hinting at the return of the class system from the get-go) looking over a massive city going through a battle, with a couple of jets dogfighting across the sky. The YouTube teaser's description reads, "Prepare for the ultimate all-out warfare experience in Battlefield 6." As mentioned before, the game is set to return to the Assault, Engineer, Support, and Recon class system from the start, unlike what happened with Battlefield 2046, while all weapons will be freely usable by any class. However, using the designated weapon type for their class (sniper rifles with Recon, for example) will offer some additional gameplay bonuses. Recent leaks from playtests have revealed that destruction has been massively improved for this entry, while immersive features like dragging teammates away from battle for revives, combat dives, crouch sprint, landing rolls, and other abilities are being implemented too. There are also reports of being able to grab onto moving vehicles while on foot. Battlefield 6 is in development across a wide range of EA development teams, including DICE, Motive Studio, Criterion Games, and Ripple Effect, with Vince Zampella from Respawn Entertainment overseeing the project. While EA has yet to give Battlefield 6 a release date, the company confirmed to investors earlier this year that it plans to launch the massive game during its 2026 fiscal year. This is the 12-month time frame between April 1, 2025, and March 31, 2026. Going by previous Battlefield releases, an October or November 2025 release date for Battlefield 6 is likely, targeting PC, Xbox Series X|S, and PlayStation 5.
    • "It is with more sadness than mere words can convey that we have to report that our beloved Ozzy Osbourne has passed away this morning," the family statement reads https://www.bbc.com/news/live/cn0qq5nyxn0t
    • If it’s still Snapdragon, I’d say pass.
  • Recent Achievements

    • Week One Done
      SmileWorks Dental earned a badge
      Week One Done
    • Community Regular
      vZeroG went up a rank
      Community Regular
    • Collaborator
      Snake Doc earned a badge
      Collaborator
    • Week One Done
      Snake Doc earned a badge
      Week One Done
    • One Month Later
      Johnny Mrkvička earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      590
    2. 2
      Michael Scrip
      197
    3. 3
      ATLien_0
      195
    4. 4
      +FloatingFatMan
      131
    5. 5
      Xenon
      122
  • Tell a friend

    Love Neowin? Tell a friend!