Posted on: 5/30/2013 12:54:37 AM | Views : 403

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 ...