我正在尝试获得谷歌前5名的MVC成绩 [英] I am trying get Google top 5 result in MVC
本文介绍了我正在尝试获得谷歌前5名的MVC成绩的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我只想在视图中显示一个搜索栏,现在我想搜索任何内容,这样前10个结果应该显示在列表中。在控制器上会采用什么方法
我尝试过:
i是开发中的新手,所以没有尝试任何东西
解决方案
请查看以下链接
教程:在ASP.NET MVC应用程序中使用Entity Framework添加排序,过滤和分页Microsoft Docs [ ^ ]
带服务器端的GridView ASP.NET MVC 5中的过滤,排序和分页 [ ^ ]
至少尝试使用代码和只有当你在任何时候陷入技术困难时才寻求帮助,不要指望任何人完成整个家庭作业。
毕竟 Google [ ^ ]是你的朋友
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
解决方案
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.
这篇关于我正在尝试获得谷歌前5名的MVC成绩的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文