Click here to Skip to main content
15,894,343 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more: , +
As my question explains: I want to retrieve data coming from web service and ADO.NET using jQuery, to fill the GridView with it??
Most of tutorials explain it using dataset class and LINQ to SQL
Posted
Comments
Nathan Minier 31-Dec-15 8:11am    
Have you tried setting up the DbSet of interest as an ObjectDataSource?
F-ES Sitecore 31-Dec-15 8:48am    
You can't manipulate a gridview using jQuery as jQuery is client-side javascript and GridView is a server-side component. It seems that what you actually want to do is create a table via jQuery\webservice (a GridView renders itself as a table), so google how to create a table via jquery and you'll find some examples, and there will no doubt be some jQuery plug-ins that will do this too. You won't find examples of populating a gridview from jQuery though as it can't be done.

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