2

I have a web service which is returning me a list [better say a table with 5 columns and could be n number of rows.]

How can I get the data from the web service by jQuery and show it in the table structure in UI.

  • Input Parameter for web service: customer Id
  • Output Parameter: ProductId, ProductName, ProductPrice, ProductURL, ProductAvailable

I am unable to find examples related to this functionality on internet.

1

2 Answers 2

3

you should use jQuery.ajax.
How to use jQuery to call an ASP.NET web service? http://encosia.com/2008/03/27/using-jquery-to-consume-aspnet-json-web-services/
http://dotnetslackers.com/articles/ajax/Using-jQuery-with-ASP-NET.aspx

Also, I have written a plugin that serializes the data to pass to your web service and contains some samples. you can download it at: http://www.4shared.com/file/8hHJll-R/Pagemethod-2.html

Sign up to request clarification or add additional context in comments.

1 Comment

If you see that that's a duplicate, vote to close, and post some links as comment
3

Check out these links:--

http://encosia.com/2008/03/27/using-jquery-to-consume-aspnet-json-web-services/

http://msdn.microsoft.com/en-us/library/bb763183.aspx

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.