小编Geo*_*rge的帖子

sql connection string problem

I have Database (compact sql server) in a*.sdf file. I converted a compact framework project to a regular pc project and for some reason, with the same code, and the same*.sdf file the following exception was thrown: "the file name is not valid. check the file name for the database"

the weird thing is that on my Pc - the substring "file:\" was added to my original connection string and that's probably why the exception is thrown. when I remove …

.net c# sql compact-framework windows-mobile

5
推荐指数
1
解决办法
830
查看次数

标签 统计

.net ×1

c# ×1

compact-framework ×1

sql ×1

windows-mobile ×1