what would be the ASP.net equivalent of this ASP code ?
for x = 1 to request.form.count
'response.write(request.form.key(x) & " = ")
response.write(request.form.item(x) & "<br>")
next
Explanation: VB.Net is Object-Oriented, which means that it is an extended
form of the procedural VB. Object-Oriented languages use procedural code all
the time. As the syntax is nearly identical with VB, with the exception of
the OOP extensions, it would be the same.
Now, the problem with your question is that it is asking about a couple of
lines of code. That is NOT where VB and VB.Net diverge. It is with the
programming model itself that the divergence takes place.
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.