Top "Datareader" questions

A DataReader reads a forward-only stream of rows from a data source.

Reader.Read() fails to read rows even though it has rows

I have a problem where it appears that the reader indicates that it has rows from the returned SQL but …

c# oracle datareader dbproviderfactories
how do we get the Column Size and dataType from getschemaTable?

I am a newbie and I am trying to retrieve the Column NAme , Size ( max legth ) and DataType from some …

c# .net database datareader getschematable
How to count rows in MySqlDataReader?

I have successfully switched my project from odbc.datareader to mysql.datareader. The problem is that with the first one /…

c# mysql datareader
How can I read string value and store it in a array using data reader

I am reading some list of values in the result but I am not sure where I am going wrong, …

c# arrays datareader
Does DataReader.Close() method close the connection object when using Microsoft Application Blocks for Data Access?

I am reviewing an application that uses Microsoft Application Blocks for Data Access to interact with the database. The application …

ado.net datareader
Invalid attempt to read when no data is present in dr

I am trying to create a login form on my ASP.NET website. Currently, there's some problem. I am trying …

c# asp.net datareader no-data
How to map a DataReader to class properties and maintain performance?

Preamble: All data connection strings, connections, etc are created using DbProviderFactories. Code is mixed C# and VB.Net from mulitple …

c# reflection datareader
DataReader best-practices

Similar to this question, but the answers never really got around to what I want to know. Is there any …

datareader
C# MySQL second DataReader in DataReader while loop

As you might have guessed from the title am I trying to do this: #region check new nations private void …

c# mysql database connection datareader
How to get multiple rows from Datareader

This is the code I have. It works fine but returns only one row. As you can see in the …

c# datareader