How to get multiple values from HTML Listbox control with ASP
I am using an HTML Listbox control in my ASP page. I am using it with "Allow
Multiple Selections" option set to true. Now I am not clear about the syntax
of ASP that I should use to retrieve the multiple values selected from that
ListBox. I tried statements like:
Response.write Request.Form.Item ("select1")(1)
Response.write Request.Form.Item ("select1")(2)
But it did not work.
Looking forward to a positive answer.
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL