티스토리 뷰

WPF

DataTable Sum Compute

NicSub 2019. 4. 24. 22:20
728x90
반응형

DataTable table = dataSet.Tables["YourTableName"];

// Declare an object variable.
object sumObject;
sumObject
= table.Compute("Sum(Amount)", string.Empty);

반응형

'WPF' 카테고리의 다른 글

Combobox 로딩중 selected event 금지  (0) 2019.05.14
WPF DataGrid empty row at bottom remove  (0) 2019.04.24
Chart  (0) 2019.04.19
WPF MetroChart sample  (0) 2019.04.11
WPF MetroChart 사용  (0) 2019.04.02
댓글