Wednesday, January 4, 2023

Session Object reference not set to an instance of an object - ASP.NET C#

 Change Request.QueryString["ii"].ToString() to groupList = (string)(Session["UserGroups"])


Remove ToString() to (string)


refernce:- https://stackoverflow.com/questions/8670020/asp-c-sharp-session-variable-object-reference-not-set-to-an-instance-of-an-o

No comments:

Post a Comment