tags:

views:

70

answers:

1

Hi ,

I have to bind sql table to one of the grid in my silverlight page.

I have seen all the examples in web using wcf services or web services for databinding.

Can i use datalayer dll (regular way of datalayer classes) to bind data to silverlight pages.

Anyone please suggest a good article on this.I am used to the regular way of devolopment like datalayer as dll.

Is this possible in silverlight?If this is possible why system.data dll's are missing from the project.?

Thanks

SNA

+3  A: 

System.Data.dlls are missing from Silverlight because Silverlight is a subset of .Net designed to run in a browser - and browsers don't usually have databases available! For this reason you usually have to create custom objects and return these through a WCF service.

Scott Guthrie's tutorial might be helpful as a guide to building Data Driven silverlight applciations.

Looking a few months into the future, you'll soon be able to use .Net RIA Services (Rich Internet Applications) for this kind of thing. Here's a link to the preview

Samuel Jack