c# bound Datagridview
        Posted  
        
            by Jin
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Jin
        
        
        
        Published on 2010-06-02T15:36:47Z
        Indexed on 
            2010/06/02
            15:43 UTC
        
        
        Read the original article
        Hit count: 330
        
I have a datagridview and it is bound to a stored procedure which returns a number of result columns.
There is also a binding navigator with "Add New" button included.
If I click "Add New" button, it creates a new row in datagridview automatically, and If I leave that new row by clicking a different row. datagridview invokes "commit" or something.
so the question is How do I make datagridview not to commit adding a new row when I leave the cell?
© Stack Overflow or respective owner