C#: datagridview.Refresh () problem.
        Posted  
        
            by Meko
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Meko
        
        
        
        Published on 2010-05-02T21:11:40Z
        Indexed on 
            2010/05/02
            21:18 UTC
        
        
        Read the original article
        Hit count: 337
        
Hi.In my WinApp I am using DataGridView in tab control.When I am adding to table in another tab ,it does not update datagridview. After closing and re-opening app it shows new value.I connected my table with wizard to datagridview. And in my Button action after adding new value to data base I used
this.BindingContext[this.dataGridView1.DataSource].EndCurrentEdit();
this.dataGridView1.Refresh();
this.dataGridView1.Parent.Refresh();
but it is not working.I am using mysql.
© Stack Overflow or respective owner