Usind this method we can select distinct rows based on particular Column.. here is the code.
Gridview1.DataSource = dtNew.DefaultView.ToTable( true, "MondayDates"); Gridview1.DataBind();
dtNew Is Datatable which contains duplicate rows MondayDates column.
but it will binds only Distinct rows to Grid..
parameter true Specify that need to select distinct rows from table.
parameter MondayDates is the name of column on which distinct clouse should be applied.
Thats all.
Hope this will help you
Thanks