sql - Creating a dasboard-esque page for viewing data
问题描述
I'm currently working on a web app using .NET Core and Razor pages. So after getting the CRUD elements pretty much sorted, the final part for me is to create a page so they can view their main data.
At the moment, their requirements for searching data would be by person and / or by project.
My initial plan is to give them two drop downs containing each of these data. And when they're happy to start the search, press a button and a SP will retrieve the data from the data base.
The bit I need help with is displaying the data. Before I was using fairly standard HTML tables in the page.
However now that the data will be refreshed and will be different based on the search parameters I'm not too sure on how to implement this.
The only way I can think of doing this is to create a API to get the data back from the DB in a JSON format and then use JavaScript functions, possibly including the data tables plugin.
Any help or suggestions would be much appreciated.
Thank you
解决方案
推荐阅读
- node.js - 使用 MongoDB 和 Node.js 查询不返回任何结果
- xamarin - 将 OnAppearing 传递给 Xamarin Forms MVVM 中的 ViewModel?
- flutter-layout - Container within a Container size
- latex - 使用外语的乳胶导致引用错误
- javascript - Ionic 3:单击按钮时增加项目数
- jenkins - Jenkins Pipeline - 重新启动时如何获取内部版本号?
- python - 在我的网络抓取中,一些 div 没有出现
- django - Django 无法显示保存在数据库中的图片
- python - 通过浏览器访问端点时,CreateAPIView 使用 st() 函数返回 TypeError
- ios - 从 Laravel 发送 Firebase 推送通知