Dimensioning Values

Results 1 to 2 of 2

Thread: Dimensioning Values

  1. #1
    Join Date
    Dec 1969

    Default Dimensioning Values

    I have this code in my .net application. I&#039;m trying to get my text box values dimensioned to these string values. The code, however is erroring out when it makes it to the request.form line. Is request.form not used in .net anymore?<BR><BR>&#060;script runat="server"&#062;<BR><BR> dim strempno<BR> dim strempname<BR> <BR> strempno = request.form("empno")<BR> strempname = request.form("empname")<BR><BR>&#060;/script&#062;<BR><BR>empno is the name of one text box and empname is the name of the other. The error occurs when the page is loading. If I take the lines witht he request.form object out the page loads up fine.

  2. #2
    Join Date
    Dec 1969

    Default RE: Dimensioning Values

    I know request. should work fine, however are you sure is not erroring at <BR><BR>dim strempno<BR><BR>because you do know that in .NET you need to specify a datatype. ; )<BR><BR>dim strempno as String<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts