Solved

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

Posted on 2011-03-02
1
575 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
[X]
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
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

737 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