Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 2011-03-02
1
568 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB.net Open Folder in Windows Explorer 3 50
Convert datetime to time string 10 28
How do sunrise and sunset times change with altitude 14 35
Code enhancement 4 20
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

809 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