如何以基于Web的语言显示DataTable? [英] How to show DataTable in web-based language?

查看:113
本文介绍了如何以基于Web的语言显示DataTable?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当前,DataTable是C#中的代码,并且是c#中的类. Inoder做分页,将此DataTable显示为转换为某种Web语言.我怎样才能做到这一点?我想使用Jquery和AJAX进行分页,现在的问题是如何将DataTable转换为可在JQuery和AJAX中使用的结构.

最好,

Currently, the DataTable is code in C#, and it is an class in c#. Inoder to do the pagination, this DataTable show be convert into some web language. How can I do that? I wanna use Jquery and AJAX to do the pagination, now the problem is how to convert the DataTable into the structure which could be used in JQuery and AJAX.

Best,

推荐答案

看看这两篇文章,我认为这给了您真正的需要.

DataGrid的客户端分页 [ AJAX DataGrid(带有客户端分页)一目了然 [
Take a look at these 2 article, I think this gives you what exactly need.

Client-side Paging for DataGrids[^]

AJAX DataGrid(with client-side paging ) at glance[^]


这篇关于如何以基于Web的语言显示DataTable?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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