|
-
February 9th, 2011, 03:56 AM
#1
Getting data from stored procedure to SilverLight
Hello.
I have Stored Procedure that expose data from 3 DB tables.
How do I use it as data resource in SilverLight application?
Any link / step by step will be greate.
Thanks,
Amir.
-
March 1st, 2011, 05:16 AM
#2
Re: Getting data from stored procedure to SilverLight
in silverlight, data can be accessed by using services only.you can follow below mentioned steps:
1- get data from database in datatable.
2- create properties corresponding to datatable fields.
3- convert the data from datatable into collection or list (read each record from datatable and add to the list).
4- return the list from service.
5- call the service in silverlight application.
6- assign the result(from service) to your control (data grid or list)
please let me know your issue in details.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|