Page view counter

Getting a datatable to the client via a webservice

Last post 12-26-2006 5:58 PM by rstrahl. 2 replies.

Sort Posts:

  • Getting a datatable to the client via a webservice

    12-24-2006, 3:55 PM
    • Loading...
    • Edgo
    • Joined on 12-24-2006, 8:46 PM
    • Posts 3
    • Points 1

    Hi

    I already can get datatables via a webservice to the client if I render them server side (building the whole table serverside).

    But how can I do this in a better way? How does this work via a DataTableConverter ?  XML?  

    If you have any ideas or pointers I hope you can share them with me.

     Sincerely

    Edward

  • Re: Getting a datatable to the client via a webservice

    12-26-2006, 1:30 PM
    • Loading...
    • wisecarver
    • Joined on 06-18-2002, 5:59 PM
    • Johnson City, Tennessee
    • Posts 375
    • Points 1,159

    How would you like to present the data? In the content of a page? In a format SQL Server can import later?

     

  • Re: Getting a datatable to the client via a webservice

    12-26-2006, 5:58 PM
    • Loading...
    • rstrahl
    • Joined on 08-20-2003, 9:08 AM
    • Paia, Hawaii
    • Posts 277
    • Points 1,431
    • ASPInsiders
      TrustedFriends-MVPs

    Hi Edward,

    You can just return the raw data table to the client via [WebMethod] access and then manually parse the JSON object on the client. You can also databind directly to it...

    This might help:
    http://www.west-wind.com/WebLog/posts/9722.aspx

    +++ Rick ---

    Rick Strahl
    West Wind Technologies
    Making waves on the Web
    www.west-wind.com/weblog
Page 1 of 1 (3 items)