Hi,
i have a gridview and the method to return a
TUPLE as below:
public List<Tuple<int, float>> ListarChamadosSimilares(string textMy)
{
List<Tuple<int, float>> listy = new List<Tuple<int, float>>();
// my calculations, and other stuff
listy.Add(new Tuple<int, float>(ProductID, RandomValue));
//
return listy;
}
As you can see the Tuples are the ProductID and a random value .
so im binding the Tuples to a Gridview as below:
<asp:GridView ID="gvChamadosSimilares" runat="server" AutoGenerateColumns="false" style="width: 100%;">
<Columns>
<asp:TemplateField HeaderText="Código">
<ItemTemplate&g ...
Go to the complete details ...