摘要:
这两天在写底层的SqlHelper,操作了本地数据库SQLite和WebService,下面记录一下怎样获取应用程序所在路径及SQLite连接字符串配置。 private const string dbName = @"\Data.db"; public static string GetFileAddr() { string retaddra = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().... 阅读全文