G
Guest
Dim myReader as SqlCeReade
if(myReader.Read)The
control=Tru
els
control=Fals
EndI
When I try to read some data with the above code from SQLCE database I get an sqlce exception. if myReader is null(nothing returned from the query) this problem occurs
My aim is to control whether any record returned from table or not
If I replace the code with the following then there is no problem
while(myReader.Read
control=Tru
endWhil
I wonder why this happens?
if(myReader.Read)The
control=Tru
els
control=Fals
EndI
When I try to read some data with the above code from SQLCE database I get an sqlce exception. if myReader is null(nothing returned from the query) this problem occurs
My aim is to control whether any record returned from table or not
If I replace the code with the following then there is no problem
while(myReader.Read
control=Tru
endWhil
I wonder why this happens?