Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Sign In| Join
Last post Dec 26, 2006 09:58 PM by rstrahl
Member
1 Points
3 Posts
Dec 24, 2006 07:55 PM|LINK
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
Participant
1169 Points
375 Posts
Dec 26, 2006 05:30 PM|LINK
How would you like to present the data? In the content of a page? In a format SQL Server can import later?
Contributor
2095 Points
366 Posts
ASPInsiders
MVP
Dec 26, 2006 09:58 PM|LINK
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 ---
Edgo
Member
1 Points
3 Posts
Getting a datatable to the client via a webservice
Dec 24, 2006 07:55 PM|LINK
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
wisecarver
Participant
1169 Points
375 Posts
Re: Getting a datatable to the client via a webservice
Dec 26, 2006 05:30 PM|LINK
How would you like to present the data? In the content of a page? In a format SQL Server can import later?
rstrahl
Contributor
2095 Points
366 Posts
ASPInsiders
MVP
Re: Getting a datatable to the client via a webservice
Dec 26, 2006 09:58 PM|LINK
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 ---
West Wind Technologies
Making waves on the Web
www.west-wind.com/weblog