I am tring to find someway to read from local MDB file. It is a requirement that user may have their own access database. And my silverlight app would be interacting and performing calculations on that data.
Is there any way I can work with it? I have found that ADO.net doesn’t come with Silverlight 5.
All the examples I have seen so far, are assuming that there is Wcf service between silverlight client and database.
I am tring to find someway to read from local MDB file. It is
Share
I can see two options for you:
1) Using the open file dialog get the user to select the file so you can copy it to the Isolated Storage then work on it and get the user to save the file to disk once you have done.
2) Get the user to install you Silverlight application out of brower, this will give you access to the file system and freedom to read the MDB. http://msdn.microsoft.com/en-us/library/dd550721(VS.96).aspx#special_features_for_outofbrowser_applications
Personally i prefer the second option.
I’m assuming you are using ADO.Net to read the database, so you’ll need to ensure that the correct provided is installed.
good luck