Go to Site Setting on your intranet, under Site Collection Administration, click Search Scope.
Select Search Dropdown and tick the search scope
Posted by ken zheng on May 15, 2008
Go to Site Setting on your intranet, under Site Collection Administration, click Search Scope.
Select Search Dropdown and tick the search scope
Posted in Sharepoint | Tagged: Search Scope | Leave a Comment »
Posted by ken zheng on May 15, 2008
Datatable dt = ???;
dt.DefaultView.Sort = SortByName;
int i = 1;
foreach (DataRowView da in dt.DefaultView)
{
_results.Add(CreateEntry(i, DateTime.Today, da["Title"].ToString(),
da["Path"].ToString(), da["Author"].ToString(), da["HitHighlightedSummary"].ToString()));
i++;
}
Posted in .Net | Tagged: Datatable, looping, sort datatable | Leave a Comment »