1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

isset in ASP...type mismatch ouch

Discussion in 'C#' started by neha2011, May 13, 2011.

  1. #1
    Hi all is there a way to check whether a variable is empty.

    Code below "no funciona" as they say in Spain.

    if (IsEmpty(Request.QueryString("year")) Then
                    year =  Year(now)
                    Else
                    year = Request.QueryString("year")
                    End if
    Code (markup):

    SEMrush
     
    neha2011, May 13, 2011 IP
    SEMrush
  2. RonBrown

    RonBrown Well-Known Member

    Messages:
    934
    Likes Received:
    55
    Best Answers:
    4
    Trophy Points:
    105
    #2
    IsNull

    If len < "a number"
     
    RonBrown, May 14, 2011 IP