将 jqGrid 与 asp.net 网络表单一起使用(免费版)

编程入门 行业动态 更新时间:2024-10-26 00:32:08
本文介绍了将 jqGrid 与 asp 网络表单一起使用(免费版)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我使用的是 Asp Web Forms ,之前我使用的是 这个 jqGrid 示例,它不是免费,这我后来意识到,既然混乱已经消除,我现在将不得不使用 jqGrid 开源的东西,因为我不会选择商业的,任何人都可以指出我开始使用 jqGrid 和 Asp.Net Web 表单的链接,如果有人给出一个示例来显示 jqGrid 中示例表中的免费列,那就太好了,我在网上找到了一些文章,但无法理解它是如何工作的.欢迎任何建议.谢谢.

I am using Asp Web Forms , earlier I used this jqGrid sample which is not free , this I realized later , now that the confusion was cleared , I will now have to use jqGrid open source thing as I wont opt for commercial one , Can anyone point me to links for getting started with jqGrid and Asp.Net Web Forms , it would be really great if someone gives an example which will show free columns from a sample table in jqGrid , I found some articles online , but couldnot understand how it works. Any suggestions are welcome. Thanks.

推荐答案

我认为工作中的 Visual Studio 演示项目最能帮助你.

I think that working Visual Studio demo projects could help you mostly.

演示来自答案 在 ASP.NET Web 窗体应用程序中使用 ASHX 处理程序.它仅使用 免费开源包 jqGrid,仅由 JavaScript 代码组成.您可以从 github 下载最新版本的源代码.

The demo from the answer uses ASHX handler in ASP.NET Web Form application. It uses only free open source package jqGrid which consist from JavaScript code only. The latest version of the source code you can download from github.

另一个演示来自答案 在 ASP.NET Web 窗体应用程序中也使用 ASHX 处理程序.它展示了如何实现网格的编辑.

Another demo from the answer uses ASHX handler in ASP.NET Web Form application too. It shows how to implement editing of the grid.

我认为拥有两个演示项目,您可以创建使用全套 jqGrid 功能的应用程序.此外,ASP.NET Web 窗体中 ASHX 处理程序的使用仅定义了客户端与服务器通信的方式.因此,您可以使用任何 技术来访问数据库.因此,您可以使用实体框架或 LINQ to SQL 甚至更旧的,但在许多情况下,从性能的角度来看,最好使用 SqlCommand 和 SqlDataReader.

I think having both of the demo project you can create application which uses full set of jqGrid features. Moreover the usage of ASHX handler in ASP.NET Web Form define only the way how the client communicate with the server. So you can use any technology which you prefer for the Database access. So You can use either Entity Framework or LINQ to SQL or even more old, but in many cases the best from the performance point of view SqlCommand with SqlDataReader.

重要的是要了解,您可以从为 ASP.NET MVC 等其他技术创建的代码示例中获得大部分内容(请参阅示例、另一个、这个 或这个).因此,您可以在 ASP.NET Web 表单解决方案的 ASHX 处理程序中实现自动完成、导出到 Excel 等功能.

It's important to understand that you can get the most part from the code examples created for another technology like ASP.NET MVC (see the example, another one, this one or this one). So you can implement Autocomplete, Export to Excel etc features in the ASHX handler in ASP.NET Web Form solution.

更多推荐

将 jqGrid 与 asp.net 网络表单一起使用(免费版)

本文发布于:2023-10-09 18:04:42,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1476403.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:免费版   表单   网络   jqGrid   asp

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!