1
좋은 하루였습니다. 조언 해주십시오
cmd 변수에 커서를 올리면 "Declaration Expected"라는 오류 메시지가 나타나는 이유는 무엇입니까? 어떻게해야합니까?! .. 코드가 아래에 나타납니다.신고 신고 예상
Imports System.Data.Sqlclient
Imports System.Configuration
Partial Class _Default
Inherits Page
Private Shared Connectionstr As String ="DataSource=localhost;initialCatalog=Orders;Integrated Security=true"
Dim conn As SqlConnection = New SqlConnection(Connectionstr)
Dim cmd As SqlCommand = conn.CreateCommand()
cmd.CommandText="SELECT * FROM dbo.Customers"
End Class
무엇을해야합니까? 뭐하고 싶니? – Oded