List<string> lstFormName = new List<string>(); lstFormName.Add("WebForm1.aspx"); lstFormName.Add("WebForm2.aspx"); Page p = BuildManager.CreateInstanceFromVirtualPath("/" + lstFormName[i].ToString(), typeof(Page)) as Page; ((IHttpHandler)p).ProcessRequest(HttpContext.Current);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)