本文介绍了使用的jqGrid与asp.net web表单(免费版)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Asp.net Web窗体,前面我用免费的,这个我后来才意识到,现在的混乱被清除,我现在不得不使用的jqGrid开源的东西我不会选择商业之一,任何人都可以点我的链接,入门的jqGrid和Asp.Net Web窗体,这将是真正伟大的,如果有人举了一个例子,它会显示在jqGrid的,我发现了一些网上的文章示例表无列,但couldnot了解它是如何工作的。
任何建议都欢迎。
谢谢你。

I am using Asp.net 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.

使用ASHX处理程序在ASP.NET Web窗体应用程序的答案。它仅使用从只有JavaScript code组成。源$ C ​​$ C的最新版本可以从。

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处理程序的使用只定义了客户端与服务器如何通信的方式。所以,你可以使用的任何的技术,您preFER对数据库的访问。因此,您可以使用实体框架或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的另一项技术创造了code实例获得最大的一部分(见的,,的或)。所以,你可以实现自动完成,导出到Excel等功能,在ASP.NET Web窗体解决方案ASHX处理程序。

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 web表单(免费版)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-15 21:54