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.

Recommended Answers

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

Regards

Jump to Post

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

Jump to Post

All 5 Replies

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

Regards

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.

And thanks for the idea sir.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.