配色: 字号:
app
2013-01-05 | 阅:  转:  |  分享 
  









connectionString="DataSource=SHY\SQLEXPRESS;InitialCatalog=AdventureWorks;UserID=sa;Password=123456"

providerName="System.Data.SqlClient"/>











SqlConnectionconnection=newSqlConnection();

stringconnstr=ConfigurationManager.ConnectionStrings["DataBase"].ToString();

connection.ConnectionString=connstr;
献花(0)
+1
(本文系天地藏娇首藏)