Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a table in sql database,i want that table to bind with gridview using jQuery.
I am new to jQuery, can anyone help me how to achieve this?
Any links,any posts,any examples etc are helpful.

What I have tried:

Without using jQuery,i have done this in normal procedure but using jQuery i want to do.
Posted
Updated 6-May-19 2:24am
Comments
F-ES Sitecore 3-May-19 7:33am    
jquery has no access to your server-side gridview, or your database so this isn't possible. Most jquery driven tables work by calling an API on your server to get the data in JSON format which they then make a table from. Lots of examples on how to do this is you google, or look at the existing jquery grid plug-ins and see how they work.
Member 14185275 3-May-19 7:48am    
Thanks for the reply,well i'll google regarding jquery plug-ins.

DataTables | Table plug-in for jQuery[^] is a popular plugin for creating tables via jquery.

Or google for other jquery grids. There are tons of them.
 
Share this answer
 
Jquery is pretty out of date, why are you using it?

jquery will help make the AJAX call to get the data. It can also be used to set the content of an element. If you did it without jquery, changing the code to use jquery should be trivial. When asking for help, if you don't post code, the answers will be vague
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900