suppose ds is your dataset object and you want to query in 1st table i.e. at index 0. Then,
DataView dv = ds.Tables[0].DefaultView;
dv.RowFilter = "[Name] LIKE 'Sanjay%'";
DataTable dtFiltered = dv.ToTable();
dtFiltered table will contain filtered rows.