How to load data from and submit changes to a database from Silverlight™ using WCF RIA Services with Gantt Chart Light Library

Gantt Chart Light Library includes only a WPF based sample application showing the way we can data bind the GanttChartDataGrid control to a database (Tasks table and its Predecessors relation). How can we data bind the control to a database from Silverlight™?

Silverlight™ is a client side technology within a client-server architecture system, that also requires a Web server in order to provide database access. This means that a Web service is required in order for your Silverlight™ application to be able to access the database, and this feature may be provided by WCF RIA Services included with Silverlight™ Tools for Visual Studio®.

A full example showing how you can load task data in GanttChartDataGrid control from, and later submit data changes back to a SQL Server® database using WCF RIA Services is available for download: Gantt Chart Silverlight Database sample.