当前位置:网站首页>C # solve the relative path problem using SQLite
C # solve the relative path problem using SQLite
2022-06-27 08:33:00 【doshy_】
Problem description : I put data.db Put it under the project , The project is packaged as exe It is impossible to use it later Absolute path !!!
The solution is shown in the figure : (test_project It's my project name )
Debug Pattern :|DataDirectory| Refer to test_project\bin\Debug
Release Pattern :|DataDirectory| Refer to test_project\bin\Release
App_Data The folder contains the application's local data store 

边栏推荐
猜你喜欢

粗读DS-TransUNet: Dual Swin Transformer U-Net for Medical Image Segmentation
![[c++ primer notes] Chapter 4 expression](/img/cb/d543dd1f461653e9adf399b42d1d26.png)
[c++ primer notes] Chapter 4 expression

Mysql事务中MVCC理解超简单

SPARQL basic introductory exercise
![[cloud native] 2.3 kubernetes core practice (Part 1)](/img/f8/dbd2546e775625d5c98881e7745047.png)
[cloud native] 2.3 kubernetes core practice (Part 1)

【云原生】2.3 Kubernetes 核心实战(上)

C# 解决使用SQLite 的相对路径问题

All tutor information on one page
![[batch dos-cmd command - summary and summary] - how to distinguish the internal command and external command of CMD, and the difference between CMD command and run (win+r) command,](/img/d1/b7e70e6f0be8e128f38afbe7ac927c.png)
[batch dos-cmd command - summary and summary] - how to distinguish the internal command and external command of CMD, and the difference between CMD command and run (win+r) command,

This, constructor, static, and inter call must be understood!
随机推荐
三道基础面试题总结
lvgl 说明3关于lvgl guider的使用
The difference between ArrayList and LinkedList
Redis master-slave replication and sentinel mode
[12. maximum continuous non repeating subsequence]
MySQL索引详解
Redis的持久化机制
SPARQL基础入门练习
This, constructor, static, and inter call must be understood!
SPARQL basic introductory exercise
Linux下Redis的安装
[batch dos-cmd command - summary and summary] - how to distinguish the internal command and external command of CMD, and the difference between CMD command and run (win+r) command,
關聯GIS:條條道路通UE5城
Redis configuration file details
[daily practice] realization of product card animation effect
不会初始化类的几种Case
[batch dos-cmd command - summary and summary] - environment variables, path variables, search file location related instructions - set, path, where, what if there are spaces in the path parameters of
多网络设备存在时,如何配置其上网优先级?
静态代码块Vs构造代码块
Redis transactions