MVC, C#, .Net, LINQ?, Lambda? i get an error pls help
$2-8 USD (1시간 기준)
my code:
public readonly myEntities db = new myEntities();
var cd = [login to view URL](w => [login to view URL] == ID).FirstOrDefault();
//the above works fine
foreach (Order x in cd???) //the err is here cd???
{
if ([login to view URL] == 1)
{ }
}
i get the following error
Error CS1579 foreach statement cannot operate on variables of type
'tablename' because 'tablename' does not contain a public instance definition for 'GetEnumerator'
프로젝트 ID: #22769761
프로젝트 소개
수상자:
2 min job .................................................................................... i am ready.......................
이 일자리에 대한 프리랜서 6 명의 평균 입찰가: $7 (1시간 기준)
Hi there, I read your initial requirements and I have some questions regarding your .net project. please send me a message so that we could discuss it further.
Hi, I am a senior .Net developer with 5+ years of experience and I am sure I can resolve this error.
Dear hiring Manager, I will be able to complete your project with the highest quality and accuracy. No need to pay me anything if you are not satisfied with my work. I will be more than happy if I get the opportunity t 기타