WPF Simple Max Record Function in ObservableCollection

Completato Pubblicato 5 anni fa Pagato alla consegna
Completato Pagato alla consegna

I have a DataGrid with a list of records. I'm using an ObservableCollection bind the Datagrid. All I need is a function/formula to return the (1)max value of the specified field (col1) ; and (2) a secondary value in the same row (col2) where the max value was founded.

Here is the sample code of how I find a maximum value:

int maxValue = ([url removed, login to view] as ObservableCollection<[url removed, login to view]>).Max(m => [url removed, login to view])

The above code will return only the max value...I need to get the maximum value + a secondary col.

Ex. MAX RPM = 10,000 @ 12s (col2).

any questions, please ask.

.NET Programmazione C# Sharepoint WPF

Rif. progetto: #16765295

Info sul progetto

1 proposta Progetto a distanza Attivo 5 anni fa

Assegnato a:

AppPackLtd

please feel free to open a chat to discuss there are two ways of doing this. I have teamviewer. extra padding text for update required

$15 USD in 1 giorno
(4 valutazioni)
2.6