Datagridview header text binding RRS feed

  • Question

  • Hi all

    Is it possible to bind a Datagridview Header.text to an Object Property ?

    And more,  is it possible to bind Datagridview column.tag to an Object Property ?

    Thanks for reply 

    Tuesday, December 4, 2018 5:50 PM


  • Hello,

    You can't bind to text in regards to Header.Text. You can bind to a Column via .Tag property but not at the cell level.

    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.
    VB Forums - moderator
    profile for Karen Payne on Stack Exchange, a network of free, community-driven Q&A sites

    • Marked as answer by Claudio111 Tuesday, December 4, 2018 6:33 PM
    Tuesday, December 4, 2018 5:55 PM