LINQ
Monday, August 15, 2011
How can you find average of student marks from student tables (Columns are StudentID, Marks)?
Public void LinqToSqlAverage()
{
var query = (from p in db. student. Marks).Average();
Console.WriteLine(q);
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment