Wrox Programmer Forums
BOOK: Professional Silverlight 4
This is the forum to discuss the Wrox book Professional Silverlight 4 by Jason Beres, Bill Evjen, Devin Rader; ISBN: 978-0-470-65092-9
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Silverlight 4 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old January 17th, 2011, 11:25 AM
Registered User
Join Date: Jan 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default RIA Database Access

I have added an entity data model and a domain service class Within the RIA enabled business template but when I use the c# code to databind in the code behind file I get a blank datagrid returned.

There is no error message.

After a bit of working on it if i add a limitation to the IQueryable method in the domain service class to take(100) returning the first 100 rows it displays if
I drag and drop from the datasource into the grid but not if i use the code for databinding outlined in the book

DomainContext dc = new DomainContext();
EmployeeGrid.ItemSource = dc.Employees;

this method of databinding returns an empty datagrid.

Drag and drop from the datasource window does not.

I have followed every step in the book and checked that it was correct on the internet. I have also rebuilt the VM that I was running the development server on with all of the latest software.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Access database database format itHighway Access 0 February 24th, 2008 06:34 PM
Database Connection to Access Database reachsevar ASP.NET 2.0 Basics 1 November 28th, 2007 08:56 AM
Database access chidolifetime Visual C++ 2005 0 May 29th, 2006 03:31 PM
Remote access to an Access Project Database bright_mulenga Access 0 February 9th, 2006 10:51 AM
Access issues with ASP and a MS Access Database rj_conceptsnrec.com Classic ASP Databases 2 May 19th, 2005 12:44 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.