Skip to content
PJG Creations Logo
  • Home
  • About Us
  • Blog
  • VB.Net Video Training
  • Contact Us

Obtaining the Maximum value in a list or Collection using Linq

In order to retrieve the highest value of a column in a list of collection, Linq offers a handy method to achieve this; Dim maxUnitsInStock = Aggregate prod In db.Products _ Into Max(prod.UnitsInStock)Simple!

By Peter Gallagher|2012-12-16T21:02:00+00:00December 16th, 2012|.Net Framework, Data, Linq, VB.net|0 Comments
Read More

Get Social

ABOUT US

PJG Creations creates bespoke desktop and web applications for companies across the country.

Specialising in converting outdated paper based or legacy software systems, to modern, database driven, process led applications.

Our latest Tweets

Something went wrong with the twitter.

Copyright 2017 PJG Creations Ltd | All Rights Reserved | Terms and Conditions
Toggle Sliding Bar Area