Example Linq and ComboBox

2 posts, 0 answers
  1. valameda
    valameda avatar
    1 posts
    Member since:
    Apr 2007

    Posted 24 Nov 2008 Link to this post

    Hello,

    Could you help me please with any example using Linq with SQL Server database and ComboBox?

    Regards!
    Victor Alameda
  2. Miroslav
    Admin
    Miroslav avatar
    922 posts

    Posted 25 Nov 2008 Link to this post

    Hi Victor,

    There are 3 steps in displaying the database data in a Silverlight application (and a ComboBox)

    1. Access and query the database - in your case that is the Linq to SQL

    2. Expose the data to the silverlight application - Web Service: Duplex, Restful, Sockets, etc

    3. Consume the data on the Silvelight side.

    The three steps are not directly related and depend on the specific scenario. In any case, when you have your data on the client side (in the silverlight app), it will be in the form of data object.

    Here is help article on binding:

    http://www.telerik.com/help/silverlight/binding-to-collections.html

    Our northwind example shows how you can access a database and populate it:

    http://demos.telerik.com/silverlight/northwindbackend/

    You can download the source for the demo from your client.net account.

    We will be happy to help with anything specific -

    Regards,

    Miroslav
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top