xml文件如下:
<?xml version="1.0" encoding="gb2312" standalone="no"?>
<app>
<catalog name="appSettings">
<entry key="connString">Provider=SQLOLEDB.1;Persist Security Info=False;User ID=用户名;password=密码;Initial Catalog=数据库名称;Data Source=SERVER;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=LIZHIYONG;Use Encryption for Data=False;Tag with column collation when possible=False</entry> </catalog>
</app>
我想在安装程序的时候,由用户通过文本框输入User ID ,password,Initial Catalog,信息 然后再在写回xml文件,更改User ID=?;password=?;Initial Catalog=?
帮我看看怎么来实现。
<?xml version="1.0" encoding="gb2312" standalone="no"?>
<app>
<catalog name="appSettings">
<entry key="connString">Provider=SQLOLEDB.1;Persist Security Info=False;User ID=用户名;password=密码;Initial Catalog=数据库名称;Data Source=SERVER;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=LIZHIYONG;Use Encryption for Data=False;Tag with column collation when possible=False</entry> </catalog>
</app>
我想在安装程序的时候,由用户通过文本框输入User ID ,password,Initial Catalog,信息 然后再在写回xml文件,更改User ID=?;password=?;Initial Catalog=?
帮我看看怎么来实现。
解决方案 »
- vs2005 智能设备开发里面的DataGrid怎么设置为只读,还有最左边的那个*列和上边的蓝色标题栏怎么取消。
- 这个到底是怎么限制MDI程序子窗体重复打开的?
- 找不到类型或命名空间名称 EnvDTE (是否缺少 using 指令或程序集引用?)
- 程序遇到问题需要关闭
- 一个关于水晶报表移植的问题
- 求Visual C# 2005 Express Editions 注册码或者注册机
- 请教一个关于操作word的问题!高手指点
- 请教基于Wince C#的学生移动考勤的项目开发,详见内容!!谢谢!!
- 求购sp移动短信接入程序
- 请问表格怎么循环两列啊,在线等,急
- 在windowsForm中,怎样将一个本地文件上传到ftp上,(进ftp需要用户名和密码)
- C# struct 问题
不过修改数据库的连接字符串我虽然可以实现,但是
在安装过程中测试数据库的连接是否正确这一步就不知道怎么做了。
头痛ing...