I have a site with HTML5 and a local database, i want to bind a table from the local database to the asp gridview using jquery code, how do i do that>
Does anyone have an example for that?
Thanks,
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Try using DataTables.net for that.
I use it for some of my projects and it works great, there are tons of plugins for it too.
http://datatables.net/release-datatables/examples/data_sources/ajax.html
That example will show you how to bind the datatables to an ajax request.
Just create a JSONResult action that will return the structure needed and it will bind.
Hope that helps, best of luck.