DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2
  1. #1
    Join Date
    May 2004
    Duluth MN

    Data Bound Form Issue

    Here is my situation. I have a form with controls bound to fields in a dataset (dsData) which was filled by a data adapter (daData). I modify the data in one of the bound controls and leave the control. The field in the datarow has now changed to match the value in the bound control. The dataset's HasChanged property is still false (I know, it gets updated when the row position changes). If I now do a daData.Update(dsData) the database does not change. It only updates if I change the row position and then run the update. My table in the dataset is only being filed with 1 row (for example: the order record in an order/order details dataset). How do I get the update to modify the database without forcing a change in row position?


  2. #2
    Join Date
    May 2004
    Duluth MN
    Figured it out. I need to do a EndEdit on the current datatrow and then the update works.

    This forum is the best. All I have to do is post a problem and within an hour or two I can figure out a solution


Similar Threads

  1. ASP.NET Data Form Wizard Control
    By max caber in forum .NET
    Replies: 0
    Last Post: 01-16-2002, 11:21 AM
  2. Replies: 0
    Last Post: 02-01-2001, 04:02 AM
  3. Re: Editing Data?? Need more Help!...
    By Derek Robinson in forum VB Classic
    Replies: 0
    Last Post: 11-19-2000, 06:22 PM
  4. Data Form Wiz
    By lorin in forum VB Classic
    Replies: 0
    Last Post: 11-16-2000, 03:46 PM
  5. data source class in ActiveX DLL vs EXE -- URGENT
    By Dave Kraft in forum VB Classic
    Replies: 3
    Last Post: 10-10-2000, 04:15 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center