This is a migrated thread and some comments may be shown as answers.

Example Linq and ComboBox

1 Answer 134 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
valameda
Top achievements
Rank 1
valameda asked on 24 Nov 2008, 07:03 PM
Hello,

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

Regards!
Victor Alameda

1 Answer, 1 is accepted

Sort by
0
Miroslav
Telerik team
answered on 25 Nov 2008, 10:21 AM

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.
Tags
ComboBox
Asked by
valameda
Top achievements
Rank 1
Answers by
Miroslav
Telerik team
Share this question
or