SqlDataReader

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Apr 2005
Posts: 2
Reputation: joel987 is an unknown quantity at this point 
Solved Threads: 0
joel987 joel987 is offline Offline
Newbie Poster

SqlDataReader

 
0
  #1
Apr 30th, 2005
  1. Dim myReader2 As SqlDataReader

can any one tellme why i get this error:

type 'SqlDataReader'is not defined

thanks.
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 2
Reputation: joel987 is an unknown quantity at this point 
Solved Threads: 0
joel987 joel987 is offline Offline
Newbie Poster

Re: SqlDataReader

 
0
  #2
Apr 30th, 2005
ist ok solved. needed

Dim myReader2 As System.Data.SqlClient.SqlDataReader
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 18
Reputation: millers_35 is an unknown quantity at this point 
Solved Threads: 2
millers_35 millers_35 is offline Offline
Newbie Poster

Re: SqlDataReader

 
1
  #3
May 5th, 2005
Originally Posted by joel987
ist ok solved. needed

Dim myReader2 As System.Data.SqlClient.SqlDataReader
One thing that would help out if you are using multiple readers or what not on a page just do an import ie.

  1. Imports System.Data.SqlClient

Then you could do
  1. Dim myReader2 As SqlDataReader
Maybe that will save you some time in the future.

Miller
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC