如何在winform中子窗体提交数据后刷新父窗体中的DataGRIDVIEW数据?
//子窗体提交后
private void btnOK_Click(object sender, EventArgs e)
{
this.DialogResult = DialogResult.OK;
this.Close();
}
//判断子窗体
if(form.ShowDialog() == DialogResult.OK)
{
刷新父窗体中的DataGRIDVIEW数据
}
相关文章:
-
2021-10-03
-
2022-12-23
-
2022-12-23
-
2021-09-05
-
2021-09-22
-
2021-09-23
-
2022-12-23
-
2021-12-15
猜你喜欢
-
2021-06-02
-
2022-12-23
-
2022-12-23
-
2021-05-22
相关资源
-
下载
2022-12-19
-
下载
2022-12-04
-
下载
2022-12-17