0
I have two tables(Datatable) different and need to use them in the same Gridview
. But when I call Gridview
on the screen it always takes the value of the first table.
Does anyone know how to make a Gridview
adapted to any consultation?
dt = info.RetornaInfo(x,y);
GdvInfo.DataSource = dt;
GdvInfo.DataBind();
Those
DataTable
has the same number of columns and are respective values and types!– novic
Post also the example of two
DataTable
that are different so that the answers are drawn up according to them.– novic