Override the default row error behavior for a DataGridView
        Posted  
        
            by Pat
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Pat
        
        
        
        Published on 2010-05-10T23:27:58Z
        Indexed on 
            2010/05/10
            23:34 UTC
        
        
        Read the original article
        Hit count: 565
        
I have a DataGridView that is bound to a DataTable. When a row in the table has an error (row.RowError is not empty), the DGV helpfully displays an error icon and tooltip with the error text. Instead of, or in addition to, this behavior, I would like to change the entire row color.
What event does the DGV subscribe to in order to handle errors and/or how can I override the DGV's default behavior?
© Stack Overflow or respective owner