Good Day, I have a problem calling a method in other form. I have a code and the visual studio don't detect any error but my code did not run, I don't know why. Here's my code.
Form 1
private void btnenter_Click(object sender, EventArgs e)
{
Form1 f1 = new Form1();
f1.UpdateGridView();
}
Form 2
public void UpdateGridView()
{
//CODE HERE...
}
anybody can told what, where's the wrong of the code??