当前位置:网站首页>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 

边栏推荐
- The most direct manifestation of memory leak
- sql注入之order by注入
- Oracle uses an SQL to find out which data is not in a table
- 直接修改/etc/crontab 文件内容,定时任务不生效
- ServletConfig与ServletContext
- webrtc入门:12.Kurento下的RtpEndpoint和WebrtcEndpoint
- Five basic types of redis
- 浏览器的markdown插件显示不了图片
- 今日3大面试Demo[Integer ASCII 类关系]
- 支付宝微信支付业务流程图
猜你喜欢

VIM from dislike to dependence (19) -- substitution

2022.06.26 (LC Luo 6101 Luo determines whether the matrix is an X matrix)

MySQL环境变量配置的教程

RMAN-08137 主库无法删除归档文件

Linux下Redis的安装

VIM from dislike to dependence (20) -- global command
![[11. two dimensional difference]](/img/b2/da624f8a7f97c46b8e346cf6d6da49.png)
[11. two dimensional difference]

粗读DS-TransUNet: Dual Swin Transformer U-Net for Medical Image Segmentation

並發編程JUC的AQS底層源碼

I'm almost addicted to it. I can't sleep! Let a bug fuck me twice!
随机推荐
内存泄露的最直接表现
多网络设备存在时,如何配置其上网优先级?
Redis installation under Linux
vim 从嫌弃到依赖(19)——替换
DV scroll board width of datav rotation table component
Several cases that do not initialize classes
Mapping of Taobao virtual product store opening tutorial
UE5神通--POI解决方案
[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,
2022.06.26(LC_6100_统计放置房子的方式数)
[12. maximum continuous non repeating subsequence]
VIM from dislike to dependence (19) -- substitution
Lvgl description 3 about the use of lvgl Guide
关于放大器失真的原因你了解多少呢?
Code source AQS sous - jacent pour la programmation simultanée juc
Five basic types of redis
[original] typescript string UTF-8 encoding and decoding
Persistence mechanism of redis
Lvgl GUI guide porting code to stm32
Redis的持久化机制