Jump to content
Fórum Script Brasil
  • 0

Visual Basic 2012 com SQL



1 answer to this question

Recommended Posts

  • 0


Achei o codigo abaixo,

        Dim con As New System.Data.SqlClient.SqlConnection("Data Source=LAOS-PC;Initial Catalog=DATA;Integrated Security=True")
        Dim com As New System.Data.SqlClient.SqlCommand(String.Format("Select * from Usuarios_Master Where nome = 'teste' ", OK.Text), con)
        Dim da As New System.Data.SqlClient.SqlDataAdapter(com)
        Dim ds As DataSet
        Dim dt As DataTable = New DataTable()



Falta neste codigo como mostrar o conteudo do campo Usuarios_master.usuario, alguém saberia como.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Forum Statistics

    • Total Topics
    • Total Posts
  • Create New...