database - how to use OleDbDataReader -
I am totally new to vb.net, I am trying to create a database connectivity using the access database I am Everything goes well, but whenever I create an object of Here is my code: my import You can not create a reader by yourself - a command object For your: OleDbDataReader it shows an error.
OleidiDidder is not available in this context because it is 'friend'
New OleDbConnection con = new string as OleDbConnection (connectionString) string = "My query" Dim cmd New OleDbCommand (Query, con) con.open () New as a reader in the form of dim ODDDITER // here as a reader Uti comes. Read () is the end of my code while
import system.Data.Oldibi Anyone can tell me where I am wrong .
Dual CMD in the form of new OLED COMM (query, choice) con.open () dim reader = cmd.ExecuteReader () while reader.read ()
Comments
Post a Comment