I am binding 4 gridviews on button click. Like this
gv1.DataSource = GetData("Mill");
gv1.DataBind();
gv2.DataSource = GetData("Factory");
gv2.DataBind();
gv3.DataSource = GetData("Garage");
gv3.DataBind();
gv4.DataSource = GetData("Master");
gv4.DataBind();
They all are using the same method for getting the result and they are also taking time to load. Is there any way I can run them parallel? I afraid, because they are using same method to get the data.
Is it possible to do threading for them. How?
Please help
You may take a look at the following article about asynchronous pages.