Click here to Skip to main content
15,881,812 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i just want show a search bar in view and now i want to search anything on that so top 10 result should be shown in a list . what method would be made on controller

What I have tried:

i am new in developing so didn't try anything
Posted
Updated 10-Apr-19 23:39pm
Comments
Nirav Prabtani 11-Apr-19 5:39am    
top 5 or top 10 ?
F-ES Sitecore 11-Apr-19 6:49am    
What you're doing is against google's terms and conditions.

1 solution

Please review below link

Tutorial: Add sorting, filtering, and paging with the Entity Framework in an ASP.NET MVC application | Microsoft Docs[^]

GridView with Server Side Filtering, Sorting and Paging in ASP.NET MVC 5[^]


At least try something with code and ask for help only when you will stuck technically at any point, Don't expect whole homework from anyone.

After all Google[^] is your friend.
 
Share this answer
 
v2

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