在C#.net windows应用程序中创建Dsn [英] Create Dsn in C# .net windows application

查看:66
本文介绍了在C#.net windows应用程序中创建Dsn的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的先生





谁能告诉我如何通过编码在c#.net

Dear Sir


Can anyone tell me how to create dsn through coding in c# .net

推荐答案

快速搜索谷歌或这里的CP你可以找到完全相同的问题,并在这里回答:



< a href =http://www.codeproject.com/Questions/451974/creating-DSN-in-csharp-net>在c#.net 中创建DSN [ ^ ]



看看那里的答案。此外,您也可以查看:



http://social.msdn.microsoft.com/Forums/en-US/441811b9-c4e9-4d15-97a3-7b92d2c9f318/creating-system-dsn -using-c [ ^ ]
Making a quick search in google or here in CP you could have found exactly the same question ansked and answered here:

creating DSN in c#.net[^]

Take a look to the answers there. In addition you can check too:

http://social.msdn.microsoft.com/Forums/en-US/441811b9-c4e9-4d15-97a3-7b92d2c9f318/creating-system-dsn-using-c[^]


为什么? DSN只是文件中的连接字符串。为什么甚至使用DSN?您可以将连接字符串放在应用程序app.config文件中。
WHY? A DSN is nothing but a Connection String in a file. Why even use a DSN?? You can put your connection string in your applications app.config file.


这篇关于在C#.net windows应用程序中创建Dsn的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆