Solved

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

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

Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

Question has a verified solution.

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

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
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.
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

696 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