using System; using System.Data; using System.Data.SqlClient; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using BLR.Diagnostics; public partial class _404 : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { if (Request.QueryString["url"] != null) { Exception exception = new Exception("File not found (404): " + Request.QueryString["url"]); BLREventLog.WriteEntry(exception, BLREventLog.EntryType.Warning); } } protected void btnSearch_Click(object sender, EventArgs e) { Response.Redirect("/find.aspx?terms=" + txtSearch.Text.Trim()); } }