J
jman168
Unregistered / Unconfirmed
GUEST, unregistred user!
我的sqlserver要怎样配置,我才能使用asp.net快速入门教程的例子(如"server=(local)/NetSDK;database=pubs;IntegratedSecurity=SSPI")。(200分)<br />Dim DS As DataSet
Dim MyConnection As SqlConnection
Dim MyCommand As SqlDataAdapter
MyConnection = New SqlConnection("server=(local)/NetSDK;database=pubs;Integrated Security=SSPI"
MyCommand = New SqlDataAdapter("select * from Authors", MyConnection)
DS = new DataSet()
MyCommand.Fill(ds, "Authors"
MyDataGrid.DataSource=ds.Tables("Authors".DefaultView
MyDataGrid.DataBind()
----------------------
我的sqlserver要怎样配置,我才能使用
asp.net快速入门教程的例子( 即用MyConnection = New SqlConnection("server=(local)/NetSDK;database=pubs;Integrated Security=SSPI"连上sqlServer)。
Dim MyConnection As SqlConnection
Dim MyCommand As SqlDataAdapter
MyConnection = New SqlConnection("server=(local)/NetSDK;database=pubs;Integrated Security=SSPI"
MyCommand = New SqlDataAdapter("select * from Authors", MyConnection)
DS = new DataSet()
MyCommand.Fill(ds, "Authors"
MyDataGrid.DataSource=ds.Tables("Authors".DefaultView
MyDataGrid.DataBind()
----------------------
我的sqlserver要怎样配置,我才能使用
asp.net快速入门教程的例子( 即用MyConnection = New SqlConnection("server=(local)/NetSDK;database=pubs;Integrated Security=SSPI"连上sqlServer)。