How to refresh or show immediately in datagridview after inserting?

后端 未结 8 1055
没有蜡笔的小新
没有蜡笔的小新 2020-11-28 14:32

After entering data into all the textbox, and after clicking the submit button, it won\'t immediately show in the datagridview, I need to reopen the form in order to see the

相关标签:
8条回答
  • 2020-11-28 15:07

    this.donorsTableAdapter.Fill(this.sbmsDataSet.donors);

    0 讨论(0)
  • 2020-11-28 15:11

    Try below piece of code.

    this.dataGridView1.RefreshEdit();
    
    0 讨论(0)
提交回复
热议问题