DataRow[] drs = dt.Select("[Col1] = 5");
DataTable newtable = new DataTable();
int c = 0;
foreach (object o in drs[0].ItemArray)
{
newtable.Columns.Add(new DataColumn(string.Format("col{0}", c++), o.GetType()));
}
foreach(DataRow dr in drs)
{
newtable.Rows.Add(dr.ItemArray);
}
this.gridGroupingControl1.DataSource = newtable;
this.gridGroupingControl1.DataSource = newtable;
this.gridDataboundGrid1.DataSource = newtable;