form1.Controls.Add(gview);
What is the function of Form1 in the above line of code? I get error when i use Form1.
I use Form instead of Form1 and it displays the Gridview1 on page2 outside Panel1. How do i make it stay inside Panel1 of page2?
NB: I'm using Masterpage