How to display two pages of the same GridView side by side?

2

I'd like to know how to display two pages of the same GridView side by side, if possible by keeping the pagination on both pages at the same time. For example, if I have GridView like this:

Num Produto   
--------------
1   Banana
2   Abacaxi
3   Morango
4   Castanha
5   Alface
6   Tomate
7   Cebola
8   Pimentão
9   Melão
10  Melancia
Páginas: (1) 2 3

It would look like this:

Num Produto       Num Produto
-------------------------------
1   Banana        6   Tomate
2   Abacaxi       7   Cebola
3   Morango       8   Pimentão
4   Castanha      9   Melão
5   Alface        10  Melancia
       Páginas: (1) 2 3

Paging would update the two parts of GridView at the same time, as if it were the first case. If it is not possible to use pagination, displaying the% with% integer in two parts already solves the problem.

    
asked by anonymous 02.04.2014 / 22:22

1 answer

1

With the GridView component would be more complicated. In this case, you can do this by using the server control DataList ". In this component, we have the properties RepeatDirection that defines the data view (Horizontal or Vertical) and the

03.04.2014 / 15:49