options...
1. Data Binding (Google it)
2. Your second form polls the database for changes every few seconds (or whenever)
3. You have a static class that provides events to all forms to identify if data in another form has been changed
4. Form1 sends a message to Form2 to say that is has updated some data
Which one tempts you?
Based on comment...
So in the Button event in form1 just call the load data function is form2
button1_click(..){
form2.LoadData();
}
You need to provide a variable in Form1 called form2 that is the instance of (or reference to) Form2
Which form opens Form2? is it Form1?
Added more: so form2 should have a load data method which I guess you already have. Make sure this isbpublic. Then in form1 you store a class level reference to your form2. then when you click button You fleck if the reference to form2 is not null and not disposed. Then you call the load method in form2. Like form2.LoadData();
....sorry my nexus one not so good for doing code. Will update I'm morning when on PC
So some sample code to illustrate...
public class Form1{
Form2 form2;
void OpenForm2(){
form2 = new Form2();
form2.Show();
}
void Button1_Click(object sender, EventArgs e){
if(form2 != null && !form2.IsDisposed)
form2.LoadData();
}
}
public class Form2{
public void LoadData(){
}
}
...hope that helps