Ciao ragazzi ho fatto dei sito web in asp.net 1.0 e per leggere in un database scrivero questo. Ora non mi va più xche mi dice che i IdataReader non c'è più. Come posso fare?
Dim myConn As New Data.SqlClient.SqlConnection()
myConn.ConnectionString = "Data Source=.; Initial Catalog=CMS_STUDIOCOLA; User Id=sa; Password=;"
myConn.Open()


Dim myCommand As New Data.SqlClient.SqlCommand()
Dim myReader As IDataReader

myCommand.Connection = myConn
myCommand.CommandText = "SELECT * From Cola_clienti"
myReader = myCommand.ExecuteReader()