Author Topic: calling a webservice/webmethod returning datatable.  (Read 3898 times)

Pwavel

  • Newbie
  • *
  • Posts: 5
    • View Profile
calling a webservice/webmethod returning datatable.
« on: January 11, 2014, 05:58:33 pm »
i want to call a c# web service method that returns a datatable and display that datatable data in paramquery grid.How can i do this?

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: calling a webservice/webmethod returning datatable.
« Reply #1 on: January 13, 2014, 11:30:43 am »
Create a REST web service which returns data in the format described here.

http://paramquery.com/api#option-dataModel-data

and assign it to dataModel as shown in this example:

http://paramquery.com/demos/grid_JSON