|
connectionString="DataSource=SHY\SQLEXPRESS;InitialCatalog=AdventureWorks;UserID=sa;Password=123456"
providerName="System.Data.SqlClient"/>
SqlConnectionconnection=newSqlConnection();
stringconnstr=ConfigurationManager.ConnectionStrings["DataBase"].ToString();
connection.ConnectionString=connstr; |
|
|
|
|
|
|