Posted answer to
similar question[
^] couple of days back:
All you need is a query with search parameters in it that will fetch records. Once fetched, you need to bind them to the grid.
Query would be something like:
SELECT
EmpId, Employeename, JoinDate
FROM
MyEmployeeTable
WHERE
JoinDate BETWEEN @FromDate AND @ToDate