Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
C# Helper...
 
XML RSS Feed
Follow VBHelper on Twitter
 
 
MSDN Visual Basic Community
 
 
 
 
 
-->
TitleEnhance the performance of the ExecuteReader method in ADO .NET
KeywordsSQL Server, database, ExecuteReader, SqlCommand, OleDbCommand, ADO.NET
CategoriesDatabase
 
You can sometimes improve the performance of the ExecuteReader method by passing it one of these parameters:

ParameterMeaning
KeyInfoThe query returns primary and column key information only
SchemaOnlyThe query returns column information only
SingleRowThe query returns a single row of data

For more information on database programming in VB .NET, see my book Visual Basic .NET Database Programming.

 
Copyright © 1997-2010 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated