Solved

What Are the Main Differences Between a SafeDataReader and a SQLDataReader in VB.NET 2010

Posted on 2011-03-02
1
560 Views
Last Modified: 2012-05-11
What are the main differences between a SafeDataReader type and a SQLDataReader type in Visual Basic .NET 2010? (Could you please give an example to illustrate the differences between them?)
0
Comment
Question by:thenthorn1010
1 Comment
 
LVL 10

Accepted Solution

by:
Asim Nazir earned 250 total points
ID: 35017422
SafeDataReader:
This is a DataReader that 'fixes' any null values before they are returned to business code.
further you can check http://www.koders.com/csharp/fid469DC9CFE87FD2B9999DDDBB738254A2A2A3E787.aspx?s=datatable

DataReader is Microsoft's Read-only forward-only way to go through data.

I hope this helps.

Asim
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Set value of dynamically created checkboxlist 2 35
Help  needed 3 26
VB.net Open Folder in Windows Explorer 3 31
Complex SQL statement in VB.NET 7 16
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question