1
Answer

Error-The name Result does not exist in the current context

Ramco Ramco

Ramco Ramco

1y
406
1

Hi

  I am getting abobe error. Below is the code

if (Utility.IsRoleAssigned("SA").Item1)
{
    List<StudentsBreak> Result = bALStudentsBreak.GetStudentBreakList();
}
else
{
    List<StudentsBreak> Result = 
    bALStudentsBreak.GetStudentBreakList(Convert.ToInt32(hdfMentorID.Value));
}
if (Result != null)
{
}

Thanks

Answers (1)