Dim myReader2 As SqlDataReader

can any one tellme why i get this error:

type 'SqlDataReader'is not defined

thanks. :D

ist ok solved. needed

Dim myReader2 As System.Data.SqlClient.SqlDataReader

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.

Imports System.Data.SqlClient

Then you could do

Dim myReader2 As SqlDataReader

Maybe that will save you some time in the future.

Miller

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.