var table = project.Tables["Table 1"];
var list = new List<int>();
for (var i=0;i<table.RowCount;i++) {
list.Add(Convert.ToInt32(table.GetCell(0,i)));
}
return string.Join(table.ColSeparator,table.GetRow(list.IndexOf(list.Max())));
Thank you, works awesome. Heres edited to return just cell 0 value:
Код:
var table = project.Tables["forms"];
var list = new List<int>();
for (var i=0;i<table.RowCount;i++) {
list.Add(Convert.ToInt32(table.GetCell(5,i)));
}
return string.Join(table.ColSeparator,table.GetCell(0, list.IndexOf(list.Max())));
Thank you, works awesome. Heres edited to return just cell 0 value:
Код:
var table = project.Tables["forms"];
var list = new List<int>();
for (var i=0;i<table.RowCount;i++) {
list.Add(Convert.ToInt32(table.GetCell(5,i)));
}
return string.Join(table.ColSeparator,table.GetCell(0, list.IndexOf(list.Max())));