Click here to Skip to main content
16,005,473 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Need Help Pin
Dave Kreskowiak3-Jan-06 7:05
mveDave Kreskowiak3-Jan-06 7:05 
QuestionI don't see a data reader in the toolbox? Pin
kenn_rosie3-Jan-06 5:25
kenn_rosie3-Jan-06 5:25 
AnswerRe: I don't see a data reader in the toolbox? Pin
Dave Kreskowiak3-Jan-06 5:36
mveDave Kreskowiak3-Jan-06 5:36 
GeneralRe: I don't see a data reader in the toolbox? Pin
kenn_rosie3-Jan-06 5:37
kenn_rosie3-Jan-06 5:37 
GeneralRe: I don't see a data reader in the toolbox? Pin
Dave Kreskowiak3-Jan-06 5:48
mveDave Kreskowiak3-Jan-06 5:48 
GeneralRe: I don't see a data reader in the toolbox? Pin
kenn_rosie3-Jan-06 5:52
kenn_rosie3-Jan-06 5:52 
GeneralRe: I don't see a data reader in the toolbox? Pin
Dave Kreskowiak3-Jan-06 6:43
mveDave Kreskowiak3-Jan-06 6:43 
AnswerRe: I don't see a data reader in the toolbox? Pin
Colin Angus Mackay3-Jan-06 5:47
Colin Angus Mackay3-Jan-06 5:47 
kenn_rosie wrote:
I am doing a VB.net tutorial and they ask me to pull in a data reader from the toolbox.


Don't tutorials teach people how to actually write code anymore.

A Data Readers are just classes. You can get different types of data reader depending on your database or you can get some generic types like OdbcDataReader[^]or OleDbDataReader[^] or specific types like SqlDataReader[^] or OracleDataReader[^]


kenn_rosie wrote:
I assume it has something to do with the sqldataadapter?


The data adapter classes use their data reader counterpart in order to extract the information from the database. All data extraction from the database comes in through a data reader. The Data Adapter justs adds an addional layer of abstraction away from the database in order to hide the details from the implementor (i.e. the developer)


kenn_rosie wrote:
Where do I load this datareader?


For example (assuming you already have a command object called myCommand):
Dim myDataReader As OleDbDataReader
myDataReader = myCommand.ExecuteDataReader()


Does this help?

ColinMackay.net
"Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucius
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell

GeneralRe: I don't see a data reader in the toolbox? Pin
kenn_rosie3-Jan-06 5:55
kenn_rosie3-Jan-06 5:55 
GeneralRe: I don't see a data reader in the toolbox? Pin
Colin Angus Mackay3-Jan-06 6:40
Colin Angus Mackay3-Jan-06 6:40 
GeneralRe: I don't see a data reader in the toolbox? Pin
kenn_rosie3-Jan-06 6:02
kenn_rosie3-Jan-06 6:02 
GeneralRe: I don't see a data reader in the toolbox? Pin
Colin Angus Mackay3-Jan-06 6:42
Colin Angus Mackay3-Jan-06 6:42 
QuestionHow can i get the system contextmenu of any type files(for example,the *.txt file)? Pin
dyh22223-Jan-06 4:47
dyh22223-Jan-06 4:47 
Questionglitch occurs Pin
tamila_tamila3-Jan-06 2:59
tamila_tamila3-Jan-06 2:59 
AnswerRe: glitch occurs Pin
tamila_tamila3-Jan-06 3:01
tamila_tamila3-Jan-06 3:01 
AnswerRe: glitch occurs Pin
Dave Kreskowiak3-Jan-06 5:29
mveDave Kreskowiak3-Jan-06 5:29 
GeneralRe: glitch occurs Pin
S. Senthil Kumar3-Jan-06 5:44
S. Senthil Kumar3-Jan-06 5:44 
GeneralRe: glitch occurs Pin
Dave Kreskowiak3-Jan-06 6:18
mveDave Kreskowiak3-Jan-06 6:18 
GeneralRe: glitch occurs Pin
tamila_tamila3-Jan-06 19:35
tamila_tamila3-Jan-06 19:35 
QuestionText files and sql server 2000 Pin
fotis-greece3-Jan-06 2:06
fotis-greece3-Jan-06 2:06 
AnswerRe: Text files and sql server 2000 Pin
Colin Angus Mackay3-Jan-06 2:16
Colin Angus Mackay3-Jan-06 2:16 
GeneralRe: Text files and sql server 2000 Pin
fotis-greece3-Jan-06 2:25
fotis-greece3-Jan-06 2:25 
GeneralRe: Text files and sql server 2000 Pin
J4amieC3-Jan-06 2:47
J4amieC3-Jan-06 2:47 
GeneralRe: Text files and sql server 2000 Pin
Colin Angus Mackay3-Jan-06 2:48
Colin Angus Mackay3-Jan-06 2:48 
GeneralRe: Text files and sql server 2000 Pin
fotis-greece3-Jan-06 2:57
fotis-greece3-Jan-06 2:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.