Difference DataTable and Grid of jQuery

0

I am a beginner in this of Web programming and I am doing a project. My goal is to collect data from a table in a very extensive database and to show it on a Web page. I use c # and I have been told that it would be nice to use a grid with jQuery , but I've also seen people using a DataTable .

What would be more advisable to use and what difference is there between the 2?

    
asked by wuasaa 19.01.2017 в 22:45
source

1 answer

1

I strongly recommend using this plugin:

DataTables Table plug-in for jQuery

It already contains much of the functionality expected in a grid and is very fast in the browser.

The controls of the ASP I think is the gridview which can be linked with DataTable de .net make the application slower and heavier, with Jquery DataTables you have the possibility of use a call Ajax to a method of asp.net to obtain the data, it is very fluid and easier to use.

This is the example of jquery datatables with ajax

In this league there is an example of how to use it with asp.net (Note: this in English):

Example jquery DataTable asp.net

    
answered by 19.01.2017 в 23:20