Question .fill not coming

itf

New member
Joined
Dec 26, 2008
Messages
4
Programming Experience
Beginner
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 ?
 

Latest posts

Back
Top