B
Bob Lehmann
I have a web form (Form1) that I would like to pass to a function, iterate
through it, and retrieve the values of the input elements.
I am able to retrieve the element IDs (function below), but keep hitting a
wall trying to get the values.
Public Function send(ByVal TheForm As System.Web.UI.HtmlControls.HtmlForm)
Dim c As Control
For Each c In TheForm.Controls
HttpContext.Current.Response.Write(c.ID)
HttpContext.Current.Response.Write("<br>")
Next
Any help appreciated.
Thanks,
Bob Lehmann
through it, and retrieve the values of the input elements.
I am able to retrieve the element IDs (function below), but keep hitting a
wall trying to get the values.
Public Function send(ByVal TheForm As System.Web.UI.HtmlControls.HtmlForm)
Dim c As Control
For Each c In TheForm.Controls
HttpContext.Current.Response.Write(c.ID)
HttpContext.Current.Response.Write("<br>")
Next
Any help appreciated.
Thanks,
Bob Lehmann