Dear friend,
Write Server.Transfer("frmmain.aspx",true) instead of Server.Transfer("frmmain.aspx");
And write following code for frmmain.aspx
-------frmmain.aspx------------
firstform a1= (firstform )PreviousPage;
int a=a1.functionname;
Enjoy....
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)