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

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 meeting, networking, learning, and sharing knowledge.