我该如何解决有关连接字符串的问题 [英] How can i solve this problem about connection string
本文介绍了我该如何解决有关连接字符串的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好
我该如何解决有关连接字符串的问题
此连接:
hii everyone
How can i solve this problem about connection string
this connection :
Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\bin\Debug\org.accdb
给出此错误:
give this error :
Error 1 Unrecognized escape sequence
Error 2 Unrecognized escape sequence
推荐答案
您是否尝试过以下方法:
> http://stackoverflow.com/questions/3295911/unrecocognized-escape-sequence [ ^ ]
Have you tried this:
http://stackoverflow.com/questions/3295911/unrecognized-escape-sequence[^]
嗨使用双斜杠(\\)而不是一个.
Hi Use double slash(\\) instead of one.
嗨
选中此
Hi
Check this
string con= @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\bin\Debug\org.accdb";
最好的问候
米特瓦里(M.Mitwalli)
Best Regards
M.Mitwalli
这篇关于我该如何解决有关连接字符串的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文