C# 数据库连接字符串拼接

string connectionString = string.Format(@"Data Source={0};User ID={1};Password={2};Initial Catalog={3};Pooling=true",
                                             dataSource, userID, password, databaseName);

 

posted @ 2017-08-12 16:21  LBO.net  阅读(443)  评论(0)    收藏  举报
//返回顶部