This is my table
i have a TEXT BOX in aspx page and want to search data from this table .user can put any data witch match any column data of table .
Please tell me how to write query to get data from table .
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Upendra Pratap ShahiPosted Sep 2, 2015, 8:57 AM
Upendra Pratap ShahiPosted Sep 3, 2015, 3:26 AM
Lalit RaghavPosted Sep 2, 2015, 8:56 AM
Raja TPosted Sep 2, 2015, 7:31 AM
Rajeesh MenothPosted Sep 2, 2015, 7:30 AM
Upendra Pratap ShahiPosted Sep 2, 2015, 7:29 AM
select id, Name, age, city,state where id like '%5%' or Name like '%Sanjay%' or age like '%12%'or city like '%Noida%' or state like '%UP%'