I have a async method in my main form which populates the grid from data retrieve from a website.
I created another class and called that function, when I debug I can see the flow entering the function, reading data from website and populating the grid but in Reality grid remains empty.
Code example is this.. Please help !
Class MainForm
{
public async PopulateGrid()
//goto website
//get data
//updategrid
}
Class newProject
{
MainForm mf = new Mainform;
mf.PopulateGrid();
}