If you have created a Data Context using Linq to SQL, how do you bind it with a carousel? Meaning, how do you read the data from the database and display the various pieces to various textboxes? If possible, please show in XAML and in procedural code.
Thanks.
Thanks for the reply. How would you write the code to connect them. Filename: Persons.dbml located in Data directory of my project. This was created using a Linq to SQL class with basic fields like FirstName, LastName, etc. I would like each item in carasousel to display the items. Is there a better way to connect to the database besides using the Data Context?
<igDP:XamDataGrid x:Name="xamDataGrid" DataSource="{Binding}"/>