Server Error in '/QuestLocal' Application.
--------------------------------------------------------------------------------
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS1955: Non-invocable member 'System.Web.UI.WebControls.ListControl.Items' cannot be used like a method.
Source Error:
Line 21: for (int j = 0; (j <= rbl.Items.Count); j++)
Line 22: {
Line 23: if ((rbl.Items(j).Value == "5"))
Line 24: {
Line 25: if (Request.Cookies["q1"] != null)
Source File: c:\inetpub\wwwroot\QuestLocal\Q1.aspx.cs Line: 23
asante_za
Member
16 Points
113 Posts
Re: Condition in Cookie
Apr 24, 2012 07:05 PM|LINK
Server Error in '/QuestLocal' Application. -------------------------------------------------------------------------------- Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS1955: Non-invocable member 'System.Web.UI.WebControls.ListControl.Items' cannot be used like a method. Source Error: Line 21: for (int j = 0; (j <= rbl.Items.Count); j++) Line 22: { Line 23: if ((rbl.Items(j).Value == "5")) Line 24: { Line 25: if (Request.Cookies["q1"] != null) Source File: c:\inetpub\wwwroot\QuestLocal\Q1.aspx.cs Line: 23