Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hey,

 

I have the following problem : I have 2 forms. On form1 I have a datagrid that I fill using a dataset and datatable. When I make some changes on form2 the data in the grid on form1 should be updated as soon as I go back to form1. How can I do this?

I already tried to refill my datagrid on form1 out of form2 with the same public function that I use to fill it in the first place (so when I start my application).

  • 1 year later...
Posted
Hey,

 

I have the following problem : I have 2 forms. On form1 I have a datagrid that I fill using a dataset and datatable. When I make some changes on form2 the data in the grid on form1 should be updated as soon as I go back to form1. How can I do this?

I already tried to refill my datagrid on form1 out of form2 with the same public function that I use to fill it in the first place (so when I start my application).

 

 

Pass a reference of the first form to the second and call its public function that you used to fill the datagrid...

Proudly a Palestinian

Microsoft ASP.NET MVP

My Blog: wessamzeidan.net

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...