Jump to content

Search button

Go to solution Solved by vorticalbox,
14 minutes ago, Execute0426 said:

with sql connection... sorry

So you want to search a database? If the data is already in the listview then there is no need to connect to the database as you have all the data you need.

 

You can search a database with

 

SELECT * FROM Table
WHERE col LIKE '%Thing To Search%';

 

37 minutes ago, Execute0426 said:

hi, what is the code for searching a data in listview?

c#?

                     ¸„»°'´¸„»°'´ Vorticalbox `'°«„¸`'°«„¸
`'°«„¸¸„»°'´¸„»°'´`'°«„¸Scientia Potentia est  ¸„»°'´`'°«„¸`'°«„¸¸„»°'´

Link to comment
https://linustechtips.com/topic/673216-search-button/#findComment-8673345
Share on other sites

Link to post
Share on other sites

                     ¸„»°'´¸„»°'´ Vorticalbox `'°«„¸`'°«„¸
`'°«„¸¸„»°'´¸„»°'´`'°«„¸Scientia Potentia est  ¸„»°'´`'°«„¸`'°«„¸¸„»°'´

Link to comment
https://linustechtips.com/topic/673216-search-button/#findComment-8673359
Share on other sites

Link to post
Share on other sites

14 minutes ago, Execute0426 said:

with sql connection... sorry

So you want to search a database? If the data is already in the listview then there is no need to connect to the database as you have all the data you need.

 

You can search a database with

 

SELECT * FROM Table
WHERE col LIKE '%Thing To Search%';

 

                     ¸„»°'´¸„»°'´ Vorticalbox `'°«„¸`'°«„¸
`'°«„¸¸„»°'´¸„»°'´`'°«„¸Scientia Potentia est  ¸„»°'´`'°«„¸`'°«„¸¸„»°'´

Link to comment
https://linustechtips.com/topic/673216-search-button/#findComment-8673432
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×