Professional Documents
Culture Documents
Conexion Con SQL
Conexion Con SQL
Conexion Con SQL
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