Hi experts !
I'm new to vb.net, i'm using vb.net 2.0
here is the coding in a form
Imports System
Imports System.Data
Imports System.Data.SqlClient
Public connectionString As String = "Server = srvr;database = flights;uid =sa;pwd = sa;"
Public conn As New SqlConnection(connectionString)
Public commandString As String = "SELECT * from city"
Public da As New SqlDataAdapter(commandString, conn)
Dim ds As New DataSet()
now when i give da.
then nothing appears, i want to use the fill method but that is also not coming.
can anybody advice ?
I'm new to vb.net, i'm using vb.net 2.0
here is the coding in a form
Imports System
Imports System.Data
Imports System.Data.SqlClient
Public connectionString As String = "Server = srvr;database = flights;uid =sa;pwd = sa;"
Public conn As New SqlConnection(connectionString)
Public commandString As String = "SELECT * from city"
Public da As New SqlDataAdapter(commandString, conn)
Dim ds As New DataSet()
now when i give da.
then nothing appears, i want to use the fill method but that is also not coming.
can anybody advice ?