Empty property

Results 1 to 2 of 2

Thread: Empty property

  1. #1
    Join Date
    Dec 1969

    Default Empty property

    Hello all, new poster, experience with ASP, just started working with ASP.net.<BR><BR>When I wanted to check whether a variable was passed in a querystring with ASP, I would use an If statement with Request.Querystring("variablename")=Empty. I tried doing the same thing on an ASP.net page and I got the following error:<BR>&#039;System.Empty&#039; is not accessible in this context because it is &#039;Private&#039;.<BR>Is there another way of checking to see if the variable was passed or not in ASP.net? Thanks in advance.

  2. #2
    Join Date
    Dec 1969

    Default RE: Empty property

    If Request.QueryString("variablename") = "" Then

Posting Permissions

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