是否可以将Access数据库存储在独立存储中?如果可以,连接字符串是什么?
发布于 2011-08-18 03:51:50
我不确定它是否会工作,但试试这个:
Type isolatedStorageType = ISStore.GetType();
System.Reflection.PropertyInfo piRootDirectory = isolatedStorageType.GetProperty("RootDirectory", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance);
string fullPath = System.IO.Path.Combine(piRootDirectory.GetValue(ISStore, null).ToString(), fileName);
System.Diagnostics.Process.Start(fullPath);一旦有了完整路径,就可以像往常一样在连接字符串中使用它。
发布于 2010-08-23 17:45:49
您可以将文件存储在独立存储中,Access数据是一个文件,因此您可以
https://stackoverflow.com/questions/3545235
复制相似问题