Click here to Skip to main content
14,733,548 members
Please Sign up or sign in to vote.
2.00/5 (2 votes)
See more:
I have a contact directory. i would like to search using search box i can enter either name, contact no email id or any field of table to search. how i can search this in my database. please provide some hint/code for this to do.
Thanks & Regards

What I have tried:

still i only done insert update etc other work. i need idea suggestions for this task
Posted
Updated 8-Sep-20 21:46pm

1 solution

Would suggest you to read and start from here: Part 7, add search to an ASP.NET Core MVC app | Microsoft Docs[^]

You can extend your search to multiple parameters and expressions. Define one and use it.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900