Dim SQLData As New SqlConnection("Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\db.mdf;Integrated Security=True;User Instance=True")
Dim SQLData As SqlConnection = New SqlConnection(ConfigurationManager.ConnectionStrings("from
dbConnectionString").ConnectionString)
http://www.aspnet101.com/aspnet101/tutorials.aspx?id=64
沒有留言:
發佈留言