public void less()
{
"Select * from Products where ProductID in ('" + Request.QueryString["ID"].ToString().Substring(1) +"') AND UnitCost <5000;
}
now when ever the link with value less than 5000 is clicked, the above method is to Called less();
in similar way create different methods for different links.
and use the same
datagridview
in each method, so your data will be shown on same gridview.
and clear
datagridview
before loading the next link
--theanil