This tutorial guides you through the process of creating simple application powered by LinqConnect technology and shows you how to use data binding in the WinForms applications. We use DataGridView component to display the data received from created by us LinqConnect context.
CrmDemoContext.CrmDemoDataContext Context = new CrmDemoContext.CrmDemoDataContext();
Dim Context As New CrmDemoContext.CrmDemoDataContext()
var query = from it in Context.Companies select it; dataGridView1.DataSource = query;
Dim query = from it in Context.Companies select it dataGridView1.DataSource = query
Changes were applied to the database. Just click the Refresh button to see the changes in the data.
© 2010 - 2014 Devart. All rights reserved.