开发者

How i can use local ms-access db file in Silverlight 4

How i can use local ms-access db file in Silverlight 4. I want to read records from local ms-access file of any user w开发者_JAVA百科ho installed Out Of Browser Application on his/her system. Same as we do with excel records. Looking forward to get results from experts.


In OOB with Elevated Trust you can use the AutomationFactory to get access to COM objects on Windows:-

dynamic conn = AutomationFactory.CreateObject("ADODB.Connection");

In C# you use the new dynamic type to hold references to COM objects that you can then manipulate in "Script" like manner.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜