[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 418
  • Last Modified:

refresh datagrid in a parent form when child change data

Hi all

how can i refresh the data on a datagridview when other form change some data,
is any way?

thank you
edo


CType(Me.MdiParent, asignar).DataGridView1.Refresh()

Open in new window

0
Ernesto
Asked:
Ernesto
  • 2
  • 2
1 Solution
 
xoperatorCommented:
Try - DataGridView.Rebind();
0
 
ErnestoAuthor Commented:
do not appear in the properties of datagridview
0
 
xoperatorCommented:
Ok,

Then do this:

DataGridView.DataSource = null;
DataGridView.Refresh();
0
 
ErnestoAuthor Commented:
not is part of the properties either

is vb.net

thanks
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now