CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2009
    Posts
    10

    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.

  2. #2
    Join Date
    Oct 2005
    Posts
    175

    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
  •  





Click Here to Expand Forum to Full Width

Featured