Professional Documents
Culture Documents
Select Id - Producto, Denominacion, Presentacion, Precio From Proyecto
Select Id - Producto, Denominacion, Presentacion, Precio From Proyecto
SqlClient
Public Class Form1
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Dim con As New SqlConnection(My.Settings.CONEXION)
Try
Dim da As New SqlDataAdapter(CMD)
Dim ds As New DataSet
da.Fill(ds, "PROYECTO")
Me.DataGridView1.DataSource = ds.Tables("PROYECTO")
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Sub
End Class