dataGridView1.Refresh();
this.stokTableAdapter.Fill(this.programDataSet.stok);
ı wrrote it but didnt happen anything

Maybe inverting the order, first fill the table then refresh the datagrid.

Hope this helps

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.