C#.net WinBase连接字符串管理 [英] C#.net WinBase Connection String management
本文介绍了C#.net WinBase连接字符串管理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
如何在C#.net应用程序中管理连接字符串?
如何通过获取用户输入并将其保存到应用程序中来创建连接字符串?
Hello all,
how to manage Connection Strings in a C#.net application?
How to create a connection string by taking user input and saving it for the application?
推荐答案
您可以将用户输入作为connectionString写入XML文件中.或在写入web.congfig文件"中.
http://www.codeproject.com/KB/cs/readwritexmlini.aspx [ ^ ]
http://geekswithblogs.net/akraus1/articles/64871 [
You can write user input as connectionString in XML file. Or in Write to web.congfig file.
http://www.codeproject.com/KB/cs/readwritexmlini.aspx[^]
http://geekswithblogs.net/akraus1/articles/64871[^]
May help you.
Thanks
这篇关于C#.net WinBase连接字符串管理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文