i am passing paramters from one page to another all witht he same name…how do i look through them?
dim sHtmlBody
sHtmlBody = ""
for i=0 to Request.QueryString("name").Count
sHtmlBody = "<html><body onload=""window.print();"">"
sHtmlBody = sHtmlBody & "<body>hello</body>"
sHtmlBody = sHtmlBody & "</head>"
next
context.Response.Write(sHtmlBody)
this is what i am doing and it works. But how do i access the individual name
Dim Name = Request.QueryString("Name")(i)
does not work
Assuming the request looks like this:
SomePage.aspx?name=name1&name=name2&name=name3you could split theNamerequest parameter by comma: