How to develop a custom SharePoint search webpart

This sample SharePoint webpart is meant to do search using search web service and result the result and show it on SPGridView. create a new class library in visual studio and paste the below code. using System; using System.Data; using System.Reflection; using System.Runtime.InteropServices; using System.Text; using System.Web; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts;…


How to add multiple SPGridView in one single custom webpart

I am writing this blog to provide a sample on how to develop a custom SharePoint webpart, which contains multiple SPGridView. While developing the sample, the challeges that I faced are how to add paging and have different datasources. However, the sample is ready now and can be used and customised to your need. Add a…


Relevance in SharePoint Search

Before reading this blog please check the following links, which will help you to better understand search relevance in sharepoint.   Enterprise Search Architecture: http://msdn.microsoft.com/en-us/library/ms570748.aspx Building Search Queries http://msdn.microsoft.com/en-us/library/ms470199.aspx SharePoint Search SQL Syntax http://msdn.microsoft.com/en-us/library/ms443580.aspx   Now, we will try to understand How does Relevance work in MOSS Search?   When a search query is executed, the query…