Hi everyone

I've been having a small problem. on learning process of vb.net and sql server 2005 I hit a wall

I want to know how can I filter the items on my datagrid which is displaying the data from my SQL server database, through a textebox text. sorry the english.it would be easier in Portuguese :)
Cheers

Do you want to share the code that you are working on?

The short answer is by adding a where clause to your select statement.

If you want it to filter as long as you type, you can use the textchanged event of your textbox and in that event you do what adam_k has said. Again, as adam_k said, if you can share your codes,it could be much easier

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.