如何将我的 ASP.NET MVC 项目中的数千行从数据库加载到 slickgrid 中?

发布于 2024-09-11 07:02:09 字数 108 浏览 0 评论 0原文

除 Ajax 示例外,所有示例均使用 javascript 创建随机值。从数据库加载的标准方法是什么?我不一定需要使用 Ajax 加载,但我不认为我想生成每个值并将其写在 html 中,还是必须这样做?

All the examples except for the Ajax example creates random values with javascript. What is the standard way to load from database? I don't necessarily need to load using Ajax but i don't think i want to generate each value and write it out in the html or is that how it has to be done?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

倾`听者〃 2024-09-18 07:02:09

如果你不想使用ajax,则必须将每个值都写在html上。没有其他办法。
使用分页有助于减轻负载。

If you dont want to use ajax, you have to write every value on the html. No other way.
Using pagination helps easing the load.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文