I am trying to use the Indexing Service to search for content from a folder on my web site called "products".
Here are the details...
In the " If I add "' DEEP TRAVERSAL OF ("/products") '" to the Scope() then the program fails with message " Parser Error Message: The server tag is not well formed." Is this a syntax error or is there something I'm missing? Also can we search more than one directory in "Scope parameter"? Any help would be appreciated ... Rob search99.aspx <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Search99.aspx.cs" Inherits="Search9" %> http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> http://www.w3.org/1999/xhtml">
search99.aspx.cs
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
public partial class Search9 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
Bechir BejaouiPosted Dec 11, 2008, 9:05 AM
replace it by
<%# DataBinder.Eval(Container.DataItem, "vpath") %>><%# DataBinder.Eval(Container.DataItem, "DocTitle") %>
And try