D
Daniel Sélen Secches
I was trying to make a simple dataReader....
Sub projets()
Dim conn As New OleDbConnection(connstring)
Dim dr As OleDbDataReader()
Dim cmd As New OleDbCommand()
cmd.CommandText = "select * from projeto order by nome"
cmd.Connection = conn
conn.Open()
dr = cmd.ExecuteReader(CommandBehavior.CloseConnection)
End Sub
what is wrong about it?
--
tks.
Daniel Sélen Secches
CWD Web Internet.
www.cwd.com.br
Sub projets()
Dim conn As New OleDbConnection(connstring)
Dim dr As OleDbDataReader()
Dim cmd As New OleDbCommand()
cmd.CommandText = "select * from projeto order by nome"
cmd.Connection = conn
conn.Open()
dr = cmd.ExecuteReader(CommandBehavior.CloseConnection)
End Sub
what is wrong about it?
--
tks.
Daniel Sélen Secches
CWD Web Internet.
www.cwd.com.br