Example #1
0
 protected void BtnSearch_Click(object sender, EventArgs e)
 {
     CreateSearch();
     if (Session["person"] != null)
     {
         person per = (person)Session["person"];
         GlobFuncs.addSearch(ReturnDate.Text.ToString().Substring(0, 10), ReturnDate.Text.ToString().Substring(13), DdlPickupLocation.Text.ToString(), DdlReturnLocation.Text.ToString(), per.CustomId);
     }
     Response.Redirect("results.aspx");
 }