如何使用 C#、ASP.NET、SQL Server 端处理实现 jQuery DataTables 插件? [英] How can I implement jQuery DataTables plugin using C#, ASP.NET, SQL Server side processing?

查看:20
本文介绍了如何使用 C#、ASP.NET、SQL Server 端处理实现 jQuery DataTables 插件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用 C#、ASP.NET、SQL Server 端处理与 ajax 和 webservices 来实现 jQuery DataTables 插件?

How can I implement jQuery DataTables plugin using C#, ASP.NET, SQL Server side processing with ajax and webservices?

想使用 c# 和 ASP.NET 实现一个 Datatables 网格,但很难找到一个工作示例.

Would like to implement a Datatables grid using c# and ASP.NET, but it is difficult to find a working example.

推荐答案

JQuery DataTables 在 C#、ASP.NET、SQL Server 端使用 ajax 和 webservices 处理的工作示例.

A working example of JQuery DataTables in C#, ASP.NET, SQL Server side processing with ajax and webservices.

http://jquerydatatablessamp.codeplex.com/

https://github.com/benni12/jquerydatatablesExample

(发了两次,方便找人)

(posted it twice to make it easier for someone looking to find it)

从链接到 DataTables.Net 开始,Allan 用这个插件做了一个了不起的工作.

Start off by linking to DataTables.Net, Allan has done an amazing job with this plugin.

我已经使用这个插件大约一年了.当我第一次尝试在 C# 和 .NET 中使用服务器端处理、ajax 和 Web 服务实现它时,文档很少,也没有可用的示例,所以我决定将它们放在一起.

I've been using this plugin for about one year. When I first attempted to implement it in C# and .NET with server side processing, ajax and webservices, there was little documentation and no working examples so I decided to put one together.

所提供的源代码来自 Visual Studio 2012(在 Ultimate 2012 和 Pro 2012 中测试)网站项目.我把它放在一起作为一个简单的工作示例,希望能帮助其他人尝试将这样的东西放在一起.这是我一年前就希望拥有的东西.

The source code provided is of a Visual Studio 2012 (tested in Ultimate 2012 and Pro 2012) website project. I threw this together as a simple working example in hopes of helping someone else out there trying to put something like this together. It's something I wish I had a year ago.

数据库 mdf 包含在 App_Data 文件夹中.我目前正在运行一个 MS SQL Server Express 2012 实例.

The database mdf is included in the App_Data folder. I am currently running an instance of MS SQL Server Express 2012.

需要安装 SQL Server Express 2012 或其他标准或更好的 MS SQL Server 完整版安装.在标准 2008 R2 和 2012 Express 上测试.

Required install SQL Server Express 2012 or other standard or better full version installs of MS SQL Server. Tested on Standard 2008 R2 and 2012 Express.

这篇关于如何使用 C#、ASP.NET、SQL Server 端处理实现 jQuery DataTables 插件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆