Executes the handler for the specified virtual path in the context of the current request and specifies whether to clear the QueryString and Form collections.
public void Execute(
The URL path to execute.
true to preserve the QueryString and Form collections; false to clear the QueryString and Form collections.
The current HttpContext is null.
- or -
An error occurred while executing the handler specified by path.
path is null.
path is not a virtual path.
The following example shows how to execute the .aspx page Updateinfo.aspx in the current request and preserve the QueryString and Form collections. Program execution returns to the starting page after Updateinfo.aspx is displayed.
private void Page_Load(Object sender, EventArgs e)