示例#1
0
 protected void btnBasicSearch_Click(Object Sender, EventArgs e)
 {
     if (intProfile > 0)
     {
         oDataPoint.DeleteSearch(txtSearch.Text.Trim(), intProfile, Request.Form[hdnSearchType.UniqueID]);
         oDataPoint.AddSearch(txtSearch.Text.Trim(), intProfile, Request.Form[hdnSearchType.UniqueID]);
     }
     Response.Redirect(Request.Path + "?t=" + radSearch.SelectedItem.Value + "&q=" + oFunction.encryptQueryString(txtSearch.Text.Trim()) + "&r=" + ddlSearch.SelectedItem.Value);
 }