Results 1 to 4 of 4

Thread: DGV Value Not Updating

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jul 2011
    Posts
    23

    DGV Value Not Updating

    I am using a DGV to display some values that are not linked to any database. The DGV contains some ComboBox Columns. When I select a new value in a combo box then try to "get" the new .value of the cell, the .value returns the value that the box was originally set to when created. I have tried .Refresh, .EndEdit, .UpdateCellValue, and nothing seems to force the newly selected combo box value into the .value method of the cell. What am I missing?

    Thank You!

  2. #2

    Thread Starter
    Junior Member
    Join Date
    Jul 2011
    Posts
    23

    Re: DGV Value Not Updating

    Sorry, I found an error in my code. Please disregard!

  3. #3
    Hyperactive Member
    Join Date
    Mar 2018
    Posts
    395

    Re: DGV Value Not Updating

    You should mark this as "Resolved" in Thread Tools..

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,299

    Re: DGV Value Not Updating

    If you found a solution to your problem then it is good form to provide that solution so that it might help someone else with a similar issue. You should also mark the thread Resolved, as suggested, so people don't keep wasting their time opening it to help you, only to find that there's no need. If the issue was just a typo or the like and not worthy of a solution, use the Report Post icon to send a message to the mods and ask them to delete the thread.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width