Dim loop1 As Integer
Dim arr1() As String
Dim coll As NameValueCollection
' Load Form variables into NameValueCollection variable.
coll=Request.Form
' Get names of all forms into a string array.
arr1 = coll.AllKeys
For loop1 = 0 To arr1.GetUpperBound(0)
Response.Write("Form: " & arr1(loop1) & "<br>")
Next loop1
Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
=====================
<cr******@gmail.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
Is there a quick way to get all the params and values from the
Request.Form object in ASP.NET?
"If Only it were this simple" Code:
Dim s As String = Request.Form.ToString()
Then s would for example become
id=3&name=Joe+Smith&view=32&page=1&count=1502
Anyone know how to do that? Thanks.