sol: double xx= (double)xx[0].xxxxx;
Every Question..What does it mean? Why is this? How it works?
Microsoft .Net (pronounced dot (.) net) may be a package element that runs on the Windows software package.
.Net provides tools and libraries that change developers to form Windows package a lot of quicker and easier.
Microsoft describes it as:".Net is that the Microsoft internet Service strategy to attach data, people,
system and devices through software".I'm Choulla Naresh..!
Thursday, June 2, 2016
ERROR : The model item passed into the dictionary is of type 'System.Collections.Generic.List`1[class]', but this dictionary requires a model item of type 'class'.
SOLUTION :
public CLASSNAME gEtsinglerecord(int Id)
{
CLASSNAME retval = null;
retval = Entity.CLASSNAME.Where(s
=> s.Id == Id).FirstOrDefault();
return retval;
}
We have to use "First or Default( )" to the get record based on SINGLE ID value.
Subscribe to:
Posts (Atom)