HTML5 how to link local database with asp gridview

I have a website with HTML5 and a local database, I want to bind a table from the local database to asp gridview using jquery code, how to do this>

Does anyone have an example?

Thank,

+5
source share
1 answer

Try using DataTables.net for this.

I use it for some of my projects and it works great, there are also many plugins for it.

http://datatables.net/release-datatables/examples/data_sources/ajax.html

This example will show how to associate datatables with an ajax request.

Just create a JSONResult action that will return the necessary structure and bind it.

Hope this helps, good luck.

0
source

All Articles