你好:
silverlight链接access数据库比较困难。应为通常的WCF方法不支持access.
我推荐你用SQL Express edition,存储数据文件在app_data文件夹。
如果你坚持用Access的话,你可以考虑用RIA Services,比如读取数据使用ADO.NET, 在手动创建DTO (RIA entities)并映射Access 数据到你的 entities。
如下列举了两个相关问题的帖子,请参照:
http://social.msdn.microsoft.com/Forums/en-US/af8fdff4-53c0-4a79-8fb6-ea8e42a476a4/silverlight-with-ms-access-database?forum=silverlightwcf
http://social.msdn.microsoft.com/Forums/en-US/540ae158-85e6-4023-8d7e-1f0a10174ff0/wcf-and-ms-access-database?forum=silverlightweb
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.