Hi!

I need some help...

I have just begun to use .NET and now i need som translations between ASP and ASP.NET VB

In the old fashion way you could use


Code:
Set rst=Con.Execute(SQL)

Do until rst.EOF


rst .MoveNext
loop.
What is the oposit code for the do part in ASP.NET

and this code i ASP
Code:
If rst.EOF then
    ' some code
else
   ' some code
end if

and finally

[CODE]
IF rst("IDnumer") = 15 then
' some code
end if


I will be greatful for any help, but i am new at .NET som i need simple explenations

/tyson