Hi. I am working on this project and I am little stuck. Trying to update my gridview after i had added data to the .mdb database but it just won't update. You can find the whole project at http://johnroach.info/FilmKira.rarThe button I have problem with is the "Urun Ekle" button. When you click that a new form opens up and you enter the data by clicking "Ekle!" However whatever I tried I still couldn't get the datagridview1 to update. Any help would be welcomed...

Ok found solution!!

added a refresh button. I don't know which one worked... :D Any ideas which one worked?

private void button3_Click(object sender, EventArgs e)
        {

            databaseDataSet.GetChanges();
            databaseDataSet.urun.AcceptChanges();
            this.urunTableAdapter.Fill(this.databaseDataSet.urun);
            dataGridView1.Refresh();
            dataGridView1.Update();
            


            

        }
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.