Rowfilter question

May 2 2004 7:07 AM
pic: [img]http://home.pi.be/~lifetec0/rows.PNG[/img] I'm Belgian ;) DataView dv = new DataView(); dv.Table = ds.Tables[0]; dv.RowFilter = "THV= '"+desc+"'"; datagrid1.DataSource = dv; I mean: THV row contains cel with contents: "eerstvolgende brug na afrit Hasselt" desc string = "Hasselt" but when I do it with the above code, it doesn't contain that cell because of the string doesn't match the WHOLE cell. Is it possible to make the desc string match a part of the THV column? So if the desc string is "Hasselt" that it will return all rows CONTAINING "Hasselt" so the cell with contents "eerstvolgende brug na afrit Hasselt" will be returned. Hope you understand my problem.... Thx ;)

Answers (2)