[thelist] .NET - using variable as form field value

Joel D Canfield joel at streamliine.com
Wed Aug 1 16:04:26 CDT 2007


really *really* new to .NET, so this is probably deadly simple:

how do I get the value of the requesting form's field 'EmpID' and insert
it into a hidden form field in the new page?

in classic ASP, I'd do this:

    <%
      Dim intEmpID
      intEmpID = Request.Form("EmpID")
    %>

    <input type="hidden" name="EmpID2" id="EmpID2" value="<%=intEmpID%>"
/>

grrr . . . I hate starting over again

thanks

joel



More information about the thelist mailing list