gridview validation / combobox

2 posts, 0 answers
  1. Pol Pol
    Pol Pol avatar
    4 posts
    Member since:
    Jul 2009

    Posted 15 Sep 2011 Link to this post

    I've got a gridview with a combobox column. When I add a new row, I can chose a value from my combobox but how can I set the value of an other column depending on the value that is chosen from the combobox when I insert the new row to the gridview.



  2. Emanuel Varga
    Emanuel Varga avatar
    1336 posts
    Member since:
    May 2010

    Posted 15 Sep 2011 Link to this post

    Hello Pol,

    If you want to change some data after the user has confirmed to add the row, you can handle either the UserAddingRow or the UserAddedRow and make the necessary changes there.

    If you need more help on this one, please don't hesitate to ask.

    Best Regards,
    Emanuel Varga
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top