DATAGRIDVIEW
pq vc não referenciou o objeto!
coloque isso
dim strSql as string
strSql = ([Ô]Execute Pr_Sel_Cliente @c_codigo=[Ô] & txtCons.Text) ou sua query com like
Dim cmd As New SqlCommand(strSql, cnnSql)
Dim adpt As New SqlDataAdapter(cmd)
Dim dt As New DataTable
adpt.Fill(dt)
dgvResultado.DataSource = dt [ô]abri datagridview
coloque isso
dim strSql as string
strSql = ([Ô]Execute Pr_Sel_Cliente @c_codigo=[Ô] & txtCons.Text) ou sua query com like
Dim cmd As New SqlCommand(strSql, cnnSql)
Dim adpt As New SqlDataAdapter(cmd)
Dim dt As New DataTable
adpt.Fill(dt)
dgvResultado.DataSource = dt [ô]abri datagridview
Faça seu login para responder