Greetings guys can you help me with my problem i have a search textbox and i want to hide some rows on the datagrid that is not equal on the search textbox.

can someone give me an idea?

Thank you in advance.

are you populating your grid from database ? or there are pre-define rows in your datagrid ?


I'm populating my grid from my database sir.

Then use the search condition in dataview using dataview.rowfilter method and bind the dataview back to grid.