Avatar of twestfall
twestfall

asked on 

Request.QueryString.GetValues("category")(0) Returns NULL

I am having trouble with the follwing b it of code.  I've seen many answers on different forums but none I can figure into my own situations.  Most of what I've seen is in C# which I don't know at all.

I am trying to test for Request.QueryString.GetValues("category")(0) the value of a query string called category.        When I debug in ASP.NET I get the following:  Run-time exception thrown : System.NullReferenceException - The pointer for this method was null.      

Can anyone tell me what I can do in VB to test?
.NET ProgrammingASP.NETVisual Basic.NET

Avatar of undefined
Last Comment
twestfall

8/22/2022 - Mon